End wizard without closing the dialog
issue3771 review4391002
This commit is contained in:
1 parent
5565843603
commit
fb68122980
1 file changed
+2
-4
@@ -361,11 +361,9 @@ class WizardDialog(Wizard, NoModal):
|
||||
super(WizardDialog, self).end(callback=end_callback)
|
||||
|
||||
def close(self, widget, event=None):
|
||||
widget.emit_stop_by_name('close')
|
||||
if self.end_state in self.states:
|
||||
self.state = self.end_state
|
||||
self.process()
|
||||
else:
|
||||
widget.emit_stop_by_name('close')
|
||||
self.states[self.end_state].clicked()
|
||||
return True
|
||||
|
||||
def show(self):
|
||||
|
||||
Reference in new issue
Block a user