summaryrefslogtreecommitdiff
path: root/mat-gui
diff options
context:
space:
mode:
authorjvoisin2011-09-18 21:02:09 +0200
committerjvoisin2011-09-18 21:02:09 +0200
commit68e335f602448daab36ab774d78a5f830a4f1c23 (patch)
tree79cd6a2d21edd9918cf7e9682657c2f72530031e /mat-gui
parent27227eceb81dd0f6420cd83260d35c0a89a8c1bd (diff)
Fixed multiselect bug (4ZM)
Diffstat (limited to 'mat-gui')
-rwxr-xr-xmat-gui5
1 files changed, 2 insertions, 3 deletions
diff --git a/mat-gui b/mat-gui
index a11bdff..76f7a0e 100755
--- a/mat-gui
+++ b/mat-gui
@@ -273,8 +273,7 @@ data loss, but clean more efficiently'))
273 if self.add_file_to_treeview(path_to_file): 273 if self.add_file_to_treeview(path_to_file):
274 not_supported.append(item) 274 not_supported.append(item)
275 else: # filename is a regular file 275 else: # filename is a regular file
276 self.add_file_to_treeview(filename) 276 if self.add_file_to_treeview(filename):
277 if self.add_file_to_treeview(path_to_file):
278 not_supported.append(item) 277 not_supported.append(item)
279 yield True 278 yield True
280 self.popup_non_supported(not_supported) 279 self.popup_non_supported(not_supported)
@@ -282,7 +281,7 @@ data loss, but clean more efficiently'))
282 281
283 def add_file_to_treeview(self, filename): 282 def add_file_to_treeview(self, filename):
284 ''' 283 '''
285 Add a file to the list if his format is supported 284 Add a file to the list if it's format is supported
286 ''' 285 '''
287 cf = CFile(filename, self.backup, self.add2archive) 286 cf = CFile(filename, self.backup, self.add2archive)
288 if cf.file is not None: # if the file is supported by the mat 287 if cf.file is not None: # if the file is supported by the mat