Added a noticeBar to the top of the document editor that can display notifications
This commit is contained in:
@@ -86,7 +86,7 @@ class NWDoc():
|
||||
|
||||
def saveDocument(self, docText):
|
||||
|
||||
if self.docHandle is None:
|
||||
if self.docHandle is None or not self.docEditable:
|
||||
return False
|
||||
|
||||
docDir, docFile = self._assemblePath(self.FILE_MN)
|
||||
|
||||
Reference in New Issue
Block a user