Make project instance private to main GUI class
This commit is contained in:
+6
-1
@@ -31,8 +31,9 @@ class MockGuiMain(QObject):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
|
||||
self._project = None
|
||||
|
||||
self.hasProject = True
|
||||
self.theProject = None
|
||||
self.mainStatus = MockStatusBar()
|
||||
self.projPath = ""
|
||||
|
||||
@@ -43,6 +44,10 @@ class MockGuiMain(QObject):
|
||||
|
||||
return
|
||||
|
||||
@property
|
||||
def project(self):
|
||||
return self._project
|
||||
|
||||
def postLaunchTasks(self, cmdOpen):
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user