Remove the whole document read only logic

This commit is contained in:
Veronica K. B. Olsen committed 2020-06-07 23:19:28 +02:00
1 parent df0a80ed96
commit 1fc76b0d95
2 files changed
+13 -26

No files matched your search

+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