From 6bf2c700bf5fc1b4b1d5e4a1d537865e805b9453 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 18 Sep 2011 21:04:27 +0200 Subject: Only show not-supported window if required (4ZM) Don't show the empty not supported window if all files opened are supported. --- mat-gui | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mat-gui b/mat-gui index 76f7a0e..3aa15e1 100755 --- a/mat-gui +++ b/mat-gui @@ -276,7 +276,9 @@ data loss, but clean more efficiently')) if self.add_file_to_treeview(filename): not_supported.append(item) yield True - self.popup_non_supported(not_supported) + #self.popup_non_supported(not_supported) + if len(not_supported): + self.popup_non_supported(not_supported) yield False def add_file_to_treeview(self, filename): -- cgit v1.3