From d6dd776056a4d0ea9faaa59b6325cd35f416da38 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Fri, 19 Jun 2020 22:17:57 +0200 Subject: [PATCH] Delete unused variable --- nw/gui/doceditor.py | 5 ----- 1 file changed, 5 deletions(-) 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)