ability to open rename dialog twice when we cancel first instance. Fixes #5587
This commit is contained in:
parent
9230f12496
commit
6406a9d710
|
@ -6,7 +6,7 @@
|
|||
<property name="border_width">6</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<property name="has_separator">False</property>
|
||||
<signal name="delete_event" handler="on_input_dialog_delete_event"/>
|
||||
<signal name="destroy" handler="on_input_dialog_destroy"/>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkVBox" id="dialog-vbox10">
|
||||
<property name="visible">True</property>
|
||||
|
|
|
@ -1764,7 +1764,7 @@ class CommonInputDialog:
|
|||
self.xml.connect_signals(self)
|
||||
self.dialog.show_all()
|
||||
|
||||
def on_input_dialog_delete_event(self, widget, event):
|
||||
def on_input_dialog_destroy(self, widget):
|
||||
if self.cancel_handler:
|
||||
self.cancel_handler()
|
||||
|
||||
|
|
Loading…
Reference in New Issue