Renamed italic and bold to emphasis and strong emphasis

This commit is contained in:
Veronica K. B. Olsen
2020-06-27 20:45:24 +02:00
parent 4d88b20fc1
commit a15af30578
4 changed files with 30 additions and 29 deletions
+3 -3
View File
@@ -514,11 +514,11 @@ class GuiDocEditor(QTextEdit):
self.copy()
elif theAction == nwDocAction.PASTE:
self.paste()
elif theAction == nwDocAction.ITALIC:
elif theAction == nwDocAction.ENPH:
self._toggleEmph(1)
elif theAction == nwDocAction.BOLD:
elif theAction == nwDocAction.STRONG:
self._toggleEmph(2)
elif theAction == nwDocAction.BOLDITALIC:
elif theAction == nwDocAction.STRONGEMPH:
self._toggleEmph(3)
elif theAction == nwDocAction.STRIKE:
self._toggleStrike()