From 8363979040755bf692b29d08505babb087b96e14 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Sun, 7 Jul 2013 16:00:14 +0200 Subject: [PATCH] fixed duplicate finder --- openlp/plugins/songs/forms/duplicatesongremovalform.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/openlp/plugins/songs/forms/duplicatesongremovalform.py b/openlp/plugins/songs/forms/duplicatesongremovalform.py index 4427bbb31..424e913b1 100644 --- a/openlp/plugins/songs/forms/duplicatesongremovalform.py +++ b/openlp/plugins/songs/forms/duplicatesongremovalform.py @@ -67,7 +67,7 @@ class DuplicateSongRemovalForm(OpenLPWizard): self.review_total_count = 0 # Used to interrupt ongoing searches when cancel is clicked. self.break_search = False - OpenLPWizard.__init__(self, self.main_window, plugin, u'duplicateSongRemovalWizard', + OpenLPWizard.__init__(self, Registry().get('main_window'), plugin, u'duplicateSongRemovalWizard', u':/wizards/wizard_duplicateremoval.bmp', False) self.setMinimumWidth(730) @@ -312,7 +312,7 @@ class DuplicateSongRemovalForm(OpenLPWizard): self.review_scroll_area_layout.removeItem(item) # Process next set of duplicates. self.process_current_duplicate_entry() - + def process_current_duplicate_entry(self): """ Update the review counter in the wizard header, add song widgets for @@ -359,4 +359,5 @@ class DuplicateSongRemovalForm(OpenLPWizard): self._application = Registry().get(u'application') return self._application - application = property(_get_application) \ No newline at end of file + application = property(_get_application) +