Backport from 1.1: clear project tree meta panel on close
This commit is contained in:
@@ -252,10 +252,17 @@ class GuiMain(QMainWindow):
|
||||
def clearGUI(self):
|
||||
"""Wrapper function to clear all sub-elements of the main GUI.
|
||||
"""
|
||||
# Project Area
|
||||
self.treeView.clearTree()
|
||||
self.treeMeta.clearDetails()
|
||||
|
||||
# Work Area
|
||||
self.docEditor.clearEditor()
|
||||
self.closeDocViewer()
|
||||
|
||||
# General
|
||||
self.statusBar.clearStatus()
|
||||
|
||||
return True
|
||||
|
||||
def initMain(self):
|
||||
|
||||
Reference in New Issue
Block a user