mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
Decoupled app in core.app from apps in qt.app and core.app_cocoa. Instead of subclassing it, they now hold a reference to it while fulfilling the role of core.app's "view".
This commit is contained in:
@@ -60,10 +60,10 @@ class DetailsDialog(DetailsDialogBase):
|
||||
self.verticalLayout.addWidget(self.tableView)
|
||||
|
||||
def _update(self):
|
||||
if not self.app.selected_dupes:
|
||||
if not self.app.model.selected_dupes:
|
||||
return
|
||||
dupe = self.app.selected_dupes[0]
|
||||
group = self.app.results.get_group_of_duplicate(dupe)
|
||||
dupe = self.app.model.selected_dupes[0]
|
||||
group = self.app.model.results.get_group_of_duplicate(dupe)
|
||||
ref = group.ref
|
||||
|
||||
self.selectedPixmap = QPixmap(str(dupe.path))
|
||||
|
||||
Reference in New Issue
Block a user