mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
disable editor buttons until field focused
This commit is contained in:
parent
1cd687a1cb
commit
1717e56831
1 changed files with 1 additions and 0 deletions
|
@ -536,6 +536,7 @@ class Editor(object):
|
||||||
"Make NOTE the current note."
|
"Make NOTE the current note."
|
||||||
self.note = note
|
self.note = note
|
||||||
self.currentField = 0
|
self.currentField = 0
|
||||||
|
self.disableButtons()
|
||||||
# change timer
|
# change timer
|
||||||
if self.note:
|
if self.note:
|
||||||
self.web.setHtml(_html % (
|
self.web.setHtml(_html % (
|
||||||
|
|
Loading…
Reference in a new issue