peng3d/gui/menus.py
def exitDialog(self):
        """
        Helper method that exits the dialog.
        
        This method will cause the previously active submenu to activate.
        """
        if self.prev_submenu is not None:
            # change back to the previous submenu
            # could in theory form a stack if one dialog opens another
            self.menu.changeSubMenu(self.prev_submenu)
        self.prev_submenu = None
def exitDialog(self):
        if self.prev_submenu is not None:
            # change back to the previous submenu
            # could in theory form a stack if one dialog opens another
            self.menu.changeSubMenu(self.prev_submenu)
        self.prev_submenu = None
def exitDialog ( self ) : if self . prev_submenu is not None : # change back to the previous submenu # could in theory form a stack if one dialog opens another self . menu . changeSubMenu ( self . prev_submenu ) self . prev_submenu = None
Helper method that exits the dialog.
        
        This method will cause the previously active submenu to activate.
Helper method that exits the dialog . This method will cause the previously active submenu to activate .