Core classes should only init with project class and if needed access main gui via project
This commit is contained in:
+2
-2
@@ -38,10 +38,10 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
class NWDoc():
|
||||
|
||||
def __init__(self, theProject, theParent):
|
||||
def __init__(self, theProject):
|
||||
|
||||
self.theProject = theProject
|
||||
self.theParent = theParent
|
||||
self.theParent = theProject.theParent
|
||||
|
||||
# Internal Variables
|
||||
self._theItem = None # The currently open item
|
||||
|
||||
Reference in New Issue
Block a user