diff --git a/nw/gui/doceditor.py b/nw/gui/doceditor.py index db989d45..3af27d07 100644 --- a/nw/gui/doceditor.py +++ b/nw/gui/doceditor.py @@ -80,9 +80,6 @@ class GuiDocEditor(QTextEdit): self.doReplace = False self.nonWord = "\"'" - # Document State - self.hasSelection = False - # Typography self.typDQOpen = self.mainConf.fmtDoubleQuotes[0] self.typDQClose = self.mainConf.fmtDoubleQuotes[1] @@ -161,8 +158,6 @@ class GuiDocEditor(QTextEdit): self.bigDoc = False self.doReplace = False - self.hasSelection = False - self.setDocumentChanged(False) self.docHeader.setTitleFromHandle(self.theHandle)