Remove hard line break menu entry

This commit is contained in:
Veronica Berglyd Olsen
2021-05-23 13:13:03 +02:00
parent 96b2d139c9
commit f1adff82a8
5 changed files with 7 additions and 22 deletions
+1 -3
View File
@@ -840,9 +840,7 @@ class GuiDocEditor(QTextEdit):
if isinstance(theInsert, str):
theText = theInsert
elif isinstance(theInsert, nwDocInsert):
if theInsert == nwDocInsert.HARD_BREAK:
theText = " \n"
elif theInsert == nwDocInsert.QUOTE_LS:
if theInsert == nwDocInsert.QUOTE_LS:
theText = self._typSQOpen
elif theInsert == nwDocInsert.QUOTE_RS:
theText = self._typSQClose