Remove the whole document read only logic

This commit is contained in:
Veronica K. B. Olsen
2020-06-07 23:19:28 +02:00
parent df0a80ed96
commit 1fc76b0d95
2 changed files with 13 additions and 26 deletions
+1 -5
View File
@@ -270,11 +270,7 @@ class GuiDocEditor(QTextEdit):
self.setDocumentChanged(False)
self.theHandle = tHandle
if self.nwDocument.docEditable:
self.setReadOnly(False)
else:
self.theParent.noticeBar.showNote("This document is read only.")
self.setReadOnly(False)
self.docTitle.setTitleFromHandle(self.theHandle)
self.updateDocMargins()
self.hLight.spellCheck = spTemp