ability to open rename dialog twice when we cancel first instance. Fixes #5587
This commit is contained in:
parent
9230f12496
commit
6406a9d710
2 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
||||||
<property name="border_width">6</property>
|
<property name="border_width">6</property>
|
||||||
<property name="type_hint">dialog</property>
|
<property name="type_hint">dialog</property>
|
||||||
<property name="has_separator">False</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">
|
<child internal-child="vbox">
|
||||||
<object class="GtkVBox" id="dialog-vbox10">
|
<object class="GtkVBox" id="dialog-vbox10">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
|
|
@ -1764,7 +1764,7 @@ class CommonInputDialog:
|
||||||
self.xml.connect_signals(self)
|
self.xml.connect_signals(self)
|
||||||
self.dialog.show_all()
|
self.dialog.show_all()
|
||||||
|
|
||||||
def on_input_dialog_delete_event(self, widget, event):
|
def on_input_dialog_destroy(self, widget):
|
||||||
if self.cancel_handler:
|
if self.cancel_handler:
|
||||||
self.cancel_handler()
|
self.cancel_handler()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue