fixed duplicate finder

This commit is contained in:
Andreas Preikschat 2013-07-07 16:00:14 +02:00
parent 1ce72c3674
commit 8363979040

View File

@ -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)
application = property(_get_application)