Commit 0f80d6f0 authored by Kai Willadsen's avatar Kai Willadsen

filediff: Only emit the close signal if that's what we're actually doing

parent e113e92e
......@@ -900,8 +900,8 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
if response == Gtk.ResponseType.OK:
for h in self.settings_handlers:
meldsettings.disconnect(h)
# TODO: Base the return code on something meaningful for VC tools
self.emit('close', 0)
# TODO: Base the return code on something meaningful for VC tools
self.emit('close', 0)
return response
def on_undo_activate(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment