From 8484bcc6538f997d4d04b89633bc876291e4d21a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 8 Feb 2009 16:30:24 +0900 Subject: [PATCH] don't clear selection either --- ankiqt/ui/facteditor.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ankiqt/ui/facteditor.py b/ankiqt/ui/facteditor.py index 53e73f7eb..4d1301292 100644 --- a/ankiqt/ui/facteditor.py +++ b/ankiqt/ui/facteditor.py @@ -559,7 +559,6 @@ class FactEditor(object): w.setTextColor(new) # now we clear the selection if haveSel: - cursor.clearSelection() w.setTextCursor(cursor) self.fontChanged = True