Path: Add operation's label to task panel window title

This commit is contained in:
Russell Johnson
2020-06-18 01:36:42 -05:00
parent a2b6ac28d8
commit 562c449c83
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage):
'''Page controller class for the Surface operation.'''
def initPage(self, obj):
self.setTitle("3D Surface")
self.setTitle("3D Surface - " + obj.Label)
# self.updateVisibility()
# retrieve property enumerations
self.propEnums = PathSurface.ObjectSurface.opPropertyEnumerations(False)

View File

@@ -41,7 +41,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage):
'''Page controller class for the Waterline operation.'''
def initPage(self, obj):
# self.setTitle("Waterline")
self.setTitle("Waterline - " + obj.Label)
self.updateVisibility()
def getForm(self):