save also call on_response_ok. Fixes #1843
This commit is contained in:
parent
47d3a2f813
commit
1241da51f2
|
@ -656,6 +656,7 @@ class FileChooserDialog(gtk.FileChooserDialog):
|
|||
|
||||
buttons = self.action_area.get_children()
|
||||
possible_responses = {gtk.STOCK_OPEN: on_response_ok,
|
||||
gtk.STOCK_SAVE: on_response_ok,
|
||||
gtk.STOCK_CANCEL: on_response_cancel}
|
||||
for b in buttons:
|
||||
for response in possible_responses:
|
||||
|
|
Loading…
Reference in New Issue