Hi,

I hope this does not break any other functionality... But it seems to
fix the issue I get when trying to save multiple files at once.

(see attachment)

Regards,
Erik

>From 7dea7411c86aef9d7939071613860081ddb466e5 Mon Sep 17 00:00:00 2001
From: Erik Schilling <ablu.erikschill...@gmail.com>
Date: Tue, 13 Feb 2018 22:45:19 +0100
Subject: [PATCH] Fixed closing when saving multiple windows at once

After saving the first buffer the state was reset, causing the remaining
states not being able to trigger the close.
---
 meld/filediff.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meld/filediff.py b/meld/filediff.py
index b3a82563..d1a3e89b 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -1648,8 +1648,6 @@ class FileDiff(MeldDoc, Component):
         if (self.state == STATE_CLOSING and
                 not any(b.get_modified() for b in self.textbuffer)):
             self.on_delete_event()
-        else:
-            self.state = STATE_NORMAL
 
     def make_patch(self, *extra):
         dialog = PatchDialog(self)
-- 
2.14.3


_______________________________________________
meld-list mailing list
meld-list@gnome.org
https://mail.gnome.org/mailman/listinfo/meld-list

Reply via email to