Remove unused code and reuse a few lines in split/merge tools

This commit is contained in:
Veronica K. B. Olsen
2020-09-24 23:30:59 +02:00
parent ad50ef6e8c
commit 008117fece
3 changed files with 2 additions and 30 deletions
+1 -2
View File
@@ -136,14 +136,13 @@ class GuiDocMerge(QDialog):
self.theParent.treeView.revealTreeItem(nHandle)
self.theParent.openDocument(nHandle, doScroll=True)
self.close()
self._doClose()
return
def _doClose(self):
"""Close the dialog window without doing anything.
"""
logger.verbose("GuiDocMerge close button clicked")
self.close()
return