mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 22:51:39 +00:00
Fixed a bug where re-prioritization criteria list would initially be empty.
That was because the dialog was created on launch time rather than on-the-fly. --HG-- branch : objp
This commit is contained in:
@@ -43,9 +43,6 @@ class PyDupeGuruBase(PyFairware):
|
||||
def extraFairwareReminder(self) -> pyref:
|
||||
return self.model.extra_fairware_reminder
|
||||
|
||||
def prioritizeDialog(self) -> pyref:
|
||||
return self.model.prioritize_dialog
|
||||
|
||||
def problemDialog(self) -> pyref:
|
||||
return self.model.problem_dialog
|
||||
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
from objp.util import pyref
|
||||
from cocoa.inter import PyGUIObject, GUIObjectView
|
||||
from core.gui.prioritize_dialog import PrioritizeDialog
|
||||
|
||||
class PrioritizeDialogView(GUIObjectView):
|
||||
pass
|
||||
|
||||
class PyPrioritizeDialog(PyGUIObject):
|
||||
def __init__(self, app: pyref):
|
||||
model = PrioritizeDialog(app.model)
|
||||
PyGUIObject.__init__(self, model)
|
||||
|
||||
def categoryList(self) -> pyref:
|
||||
return self.model.category_list
|
||||
|
||||
|
||||
Reference in New Issue
Block a user