Improve test coverage

This commit is contained in:
Veronica Berglyd Olsen
2024-05-29 21:27:05 +02:00
parent be7078aa7e
commit f1b7257e73
3 changed files with 58 additions and 9 deletions
-8
View File
@@ -723,14 +723,6 @@ class GuiMain(QMainWindow):
return
def editItemLabel(self, tHandle: str | None = None) -> None:
"""Open the edit item dialog."""
if SHARED.hasProject:
if tHandle is None and (self.docEditor.anyFocus() or SHARED.focusMode):
tHandle = self.docEditor.docHandle
self.projView.renameTreeItem(tHandle)
return
def rebuildTrees(self) -> None:
"""Rebuild the project tree."""
self.projView.populateTree()