From 68e335f602448daab36ab774d78a5f830a4f1c23 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 18 Sep 2011 21:02:09 +0200 Subject: Fixed multiselect bug (4ZM) --- mat-gui | 5 ++--- 1 file 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')) if self.add_file_to_treeview(path_to_file): not_supported.append(item) else: # filename is a regular file - self.add_file_to_treeview(filename) - if self.add_file_to_treeview(path_to_file): + if self.add_file_to_treeview(filename): not_supported.append(item) yield True self.popup_non_supported(not_supported) @@ -282,7 +281,7 @@ data loss, but clean more efficiently')) def add_file_to_treeview(self, filename): ''' - Add a file to the list if his format is supported + Add a file to the list if it's format is supported ''' cf = CFile(filename, self.backup, self.add2archive) if cf.file is not None: # if the file is supported by the mat -- cgit v1.3