From dfe7f5bf16a9d01687973fa6949e7e6202755b26 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 20 May 2012 17:54:11 +0900 Subject: [PATCH] fix tags reverted on clayout --- aqt/editor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aqt/editor.py b/aqt/editor.py index 9c34e0e11..808ca5f82 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -684,7 +684,8 @@ class Editor(object): else: self.deck.setText(self.mw.col.decks.nameOrNone( self.note.model()['did']) or _("Default")) - self.tags.setText(self.note.stringTags().strip()) + if not self.tags.text(): + self.tags.setText(self.note.stringTags().strip()) def saveTags(self): if not self.note: