1
0
espelhamento de https://github.com/arsenetar/dupeguru.git sincronizado 2025-09-11 17:58:17 +00:00

Merge pull request #873 from glubsy/fix_857

Fix 857
Esse commit está contido em:
Andrew Senetar 2021-04-20 20:05:05 -05:00 commit de GitHub
commit 0840104edf
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
ID da chave GPG: 4AEE18F83AFDEB23
3 arquivos alterados com 4 adições e 2 exclusões

Ver arquivo

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

Ver arquivo

@ -51,7 +51,7 @@ class DetailsDialog(QDockWidget):
if not self.titleBarWidget(): # default title bar if not self.titleBarWidget(): # default title bar
self.setTitleBarWidget(QWidget()) # disables title bar self.setTitleBarWidget(QWidget()) # disables title bar
# Windows (and MacOS?) users cannot move a floating window which # 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: if not ISLINUX:
self.setFloating(False) self.setFloating(False)
elif self.titleBarWidget() is not None: # title bar is disabled elif self.titleBarWidget() is not None: # title bar is disabled

Ver arquivo

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