fix 'strip formatting' option being inverted

This commit is contained in:
Damien Elmes 2021-03-28 19:41:15 +10:00
parent 76127126a6
commit 73430d966f

View file

@ -1154,7 +1154,7 @@ class EditorWebView(AnkiWebView):
)
if KeyboardModifiersPressed().shift:
strip_html = not strip_html
return strip_html
return not strip_html
def _onPaste(self, mode: QClipboard.Mode) -> None:
extended = self._wantsExtendedPaste()