1
0
spegling av https://github.com/arsenetar/dupeguru.git synced 2025-07-12 01:33:20 +00:00

Merge pull request #873 from glubsy/fix_857

Fix 857
This commit is contained in:
Andrew Senetar 2021-04-20 20:05:05 -05:00 committad av GitHub
förälder 4a40b346a4 6b4b436251
incheckning 0840104edf
Ingen känd nyckel hittad för denna signaturen i databasen
GPG-nyckel ID: 4AEE18F83AFDEB23
3 ändrade filer med 4 tillägg och 2 borttagningar

Visa fil

@ -271,6 +271,9 @@ class DupeGuru(QObject):
self.willSavePrefs.emit()
self.prefs.save()
self.model.save()
# Workaround for #857, hide() or close().
if self.details_dialog is not None:
self.details_dialog.close()
QApplication.quit()
# --- Signals

Visa fil

@ -51,7 +51,7 @@ class DetailsDialog(QDockWidget):
if not self.titleBarWidget(): # default title bar
self.setTitleBarWidget(QWidget()) # disables title bar
# Windows (and MacOS?) users cannot move a floating window which
# has not native decoration so we force it to dock for now
# has no native decoration so we force it to dock for now
if not ISLINUX:
self.setFloating(False)
elif self.titleBarWidget() is not None: # title bar is disabled

Visa fil

@ -19,7 +19,6 @@ tr = trget("ui")
class DetailsDialog(DetailsDialogBase):
def __init__(self, parent, app):
self.vController = None
self.app = app
super().__init__(parent, app)
def _setupUi(self):