Skip to content

Commit

Permalink
Fix helpwindow not having icon
Browse files Browse the repository at this point in the history
  • Loading branch information
th3w1zard1 committed Mar 16, 2024
1 parent 2ea6f64 commit b0d8f49
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Tools/HolocronToolset/src/toolset/gui/windows/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,16 @@ def __init__(self, parent: QWidget | None, startingPage: str | None = None):
self.ui.setupUi(self)
self._setupSignals()
self._setupContents()
self.startingPage: str | None = startingPage

def showEvent(self, a0):
self.ui.textDisplay.setSearchPaths(["./help"])

if self.ENABLE_UPDATES:
self.checkForUpdates()

if startingPage:
self.displayFile(startingPage)
if self.startingPage is not None:
self.displayFile(self.startingPage)

def _setupSignals(self):
self.ui.contentsTree.clicked.connect(self.onContentsClicked)
Expand Down

0 comments on commit b0d8f49

Please sign in to comment.