Skip to content
This repository was archived by the owner on Aug 28, 2020. It is now read-only.

Commit eac1178

Browse files
committed
load current project name from application settings when first starting up
1 parent 8e7d6f0 commit eac1178

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pugdebug/gui/main_window.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ def __init__(self):
5656
if has_setting("window/state"):
5757
self.restoreState(get_setting("window/state"))
5858

59+
if has_setting("current_project"):
60+
self.set_window_title(get_setting("current_project"))
61+
5962
def closeEvent(self, event):
6063
set_setting("window/geometry", self.saveGeometry())
6164
set_setting("window/state", self.saveState())

0 commit comments

Comments
 (0)