summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2011-09-18 21:04:27 +0200
committerjvoisin2011-09-18 21:04:27 +0200
commit6bf2c700bf5fc1b4b1d5e4a1d537865e805b9453 (patch)
tree2bea46b530ab1e36daac009694ad48b35c7cd294
parent68e335f602448daab36ab774d78a5f830a4f1c23 (diff)
Only show not-supported window if required (4ZM)
Don't show the empty not supported window if all files opened are supported.
-rwxr-xr-xmat-gui4
1 files changed, 3 insertions, 1 deletions
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'))
276 if self.add_file_to_treeview(filename): 276 if self.add_file_to_treeview(filename):
277 not_supported.append(item) 277 not_supported.append(item)
278 yield True 278 yield True
279 self.popup_non_supported(not_supported) 279 #self.popup_non_supported(not_supported)
280 if len(not_supported):
281 self.popup_non_supported(not_supported)
280 yield False 282 yield False
281 283
282 def add_file_to_treeview(self, filename): 284 def add_file_to_treeview(self, filename):