I have task that requires the user to make multiple choices. The first dialog (in the task menu) pops up and gives the user a drop down menu, the user clicks accept, and then the user should be taken to the next dialog. A minimal example would be:
Code: Select all
class PanelA:
def accept(self):
pb = PanelB()
FreeCADGui.Control.closeDialog()
FreeCADGui.Control.showDialog(pb)
class PanelB:
def accept(self):
FreeCADGui.Control.closeDialog()
Code: Select all
Gui.Control.showDialog(PanelA())
Does anyone have any suggestions for how I can get this behavior again?