Destroy the dialog after reading value of the widget for issue1837
And call present on the parent window
This commit is contained in:
1 parent
a7d9eb38b2
commit
fbb9a9fa6b
1 file changed
+2
-1
@@ -192,9 +192,10 @@ class Form(SignalEvent):
|
||||
win.show_all()
|
||||
|
||||
response = win.run()
|
||||
win.destroy()
|
||||
if response == gtk.RESPONSE_OK:
|
||||
self.screen.display(locale.atoi(entry.get_text()), set_cursor=True)
|
||||
win.destroy()
|
||||
self.window.present()
|
||||
|
||||
def destroy(self):
|
||||
self.screen.signal_unconnect(self)
|
||||
|
||||
Reference in new issue
Block a user