1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2025-03-10 05:34:36 +00:00

Toggle visibility of details dialog

* When using the Ctrl+I shortcut or the "Details" button in the Results window, toggle the details dialog on/off.
* This works also while it is docked.
This commit is contained in:
glubsy 2020-07-29 20:43:18 +02:00
parent 9795f14176
commit da8c493c9f

View File

@ -190,7 +190,10 @@ class DupeGuru(QObject):
def show_details(self): def show_details(self):
if self.details_dialog is not None: if self.details_dialog is not None:
self.details_dialog.show() if not self.details_dialog.isVisible():
self.details_dialog.show()
else:
self.details_dialog.hide()
def showResultsWindow(self): def showResultsWindow(self):
if self.resultWindow is not None: if self.resultWindow is not None: