mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 13:44:37 +00:00
Fix wrong use_regexp option propagation to core (qt)
We need to flip `use_regexp` before sending it down to `escape_filter_regexp`! fixes #295
This commit is contained in:
parent
bba20f4218
commit
6d263215ad
@ -90,7 +90,7 @@ class DupeGuru(QObject):
|
|||||||
|
|
||||||
def _update_options(self):
|
def _update_options(self):
|
||||||
self.model.scanner.mix_file_kind = self.prefs.mix_file_kind
|
self.model.scanner.mix_file_kind = self.prefs.mix_file_kind
|
||||||
self.model.options['escape_filter_regexp'] = self.prefs.use_regexp
|
self.model.options['escape_filter_regexp'] = not self.prefs.use_regexp
|
||||||
self.model.options['clean_empty_dirs'] = self.prefs.remove_empty_folders
|
self.model.options['clean_empty_dirs'] = self.prefs.remove_empty_folders
|
||||||
self.model.options['ignore_hardlink_matches'] = self.prefs.ignore_hardlink_matches
|
self.model.options['ignore_hardlink_matches'] = self.prefs.ignore_hardlink_matches
|
||||||
self.model.options['copymove_dest_type'] = self.prefs.destination_type
|
self.model.options['copymove_dest_type'] = self.prefs.destination_type
|
||||||
|
Loading…
x
Reference in New Issue
Block a user