mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
process events before showing combo box
This commit is contained in:
parent
d9f4e169fc
commit
3b97f082e8
1 changed files with 1 additions and 0 deletions
|
@ -730,6 +730,7 @@ To upgrade an old deck, download Anki 0.9.8.7."""))
|
||||||
vbox.addWidget(bbox)
|
vbox.addWidget(bbox)
|
||||||
diag.setLayout(vbox)
|
diag.setLayout(vbox)
|
||||||
diag.show()
|
diag.show()
|
||||||
|
self.app.processEvents()
|
||||||
combo.showPopup()
|
combo.showPopup()
|
||||||
combo.setFocus()
|
combo.setFocus()
|
||||||
self.switchDeckDiag = diag
|
self.switchDeckDiag = diag
|
||||||
|
|
Loading…
Reference in a new issue