mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
Quick work-around for a problem with Qt and certain too-smart window managers.
This commit is contained in:
parent
580ea4fc0c
commit
9d5bb7e5fa
1 changed files with 5 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
from aqt.qt import *
|
||||
import aqt
|
||||
from anki.utils import ids2str
|
||||
from anki.utils import ids2str, isWin, isMac
|
||||
from aqt.utils import showInfo, showWarning, openHelp, getOnlyText, askUser
|
||||
from operator import itemgetter
|
||||
|
||||
|
@ -34,7 +34,10 @@ class DeckConf(QDialog):
|
|||
self.loadConf()
|
||||
self.show()
|
||||
if first:
|
||||
self.form.examples.showPopup()
|
||||
if isMac or isWin:
|
||||
self.form.examples.showPopup()
|
||||
else:
|
||||
mw.progress.timer(200, self.form.examples.showPopup, False)
|
||||
self.exec_()
|
||||
|
||||
def setupOrder(self):
|
||||
|
|
Loading…
Reference in a new issue