mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 06:07:11 -05:00
info/warning/etc need to be be application modal
WindowModal was allowing multiple popups in the browser on Windows: https://anki.tenderapp.com/discussions/beta-testing/1378-error-does-not-go-away
This commit is contained in:
parent
de38313071
commit
488c867afb
1 changed files with 0 additions and 1 deletions
|
|
@ -40,7 +40,6 @@ def showInfo(text, parent=False, help="", type="info", title="Anki"):
|
|||
mb = QMessageBox(parent)
|
||||
mb.setText(text)
|
||||
mb.setIcon(icon)
|
||||
mb.setWindowModality(Qt.WindowModal)
|
||||
mb.setWindowTitle(title)
|
||||
b = mb.addButton(QMessageBox.Ok)
|
||||
b.setDefault(True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue