diff options
| author | jvoisin | 2011-09-18 21:04:27 +0200 |
|---|---|---|
| committer | jvoisin | 2011-09-18 21:04:27 +0200 |
| commit | 6bf2c700bf5fc1b4b1d5e4a1d537865e805b9453 (patch) | |
| tree | 2bea46b530ab1e36daac009694ad48b35c7cd294 /mat-gui | |
| parent | 68e335f602448daab36ab774d78a5f830a4f1c23 (diff) | |
Only show not-supported window if required (4ZM)
Don't show the empty not supported window if all files opened are supported.
Diffstat (limited to 'mat-gui')
| -rwxr-xr-x | mat-gui | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -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): |
