This change solves dialog stacking problems on newer Mac OS X in combination with the OS provided file open dialog.

(cherry picked from commit 97dc585138)
(cherry picked from commit 1460e8fe6f)
This commit is contained in:
Stephan Witt 2017-09-12 11:05:42 +02:00 committed by Juergen Spitzmueller
parent 5ba05b546b
commit 108deae543
3 changed files with 5 additions and 0 deletions

View File

@ -56,6 +56,7 @@ GuiBibtex::GuiBibtex(GuiView & lv)
setupUi(this); setupUi(this);
QDialog::setModal(true); QDialog::setModal(true);
setWindowModality(Qt::WindowModal);
connect(okPB, SIGNAL(clicked()), connect(okPB, SIGNAL(clicked()),
this, SLOT(slotOK())); this, SLOT(slotOK()));

View File

@ -31,6 +31,7 @@ public:
{ {
Ui::BibtexAddUi::setupUi(this); Ui::BibtexAddUi::setupUi(this);
QDialog::setModal(true); QDialog::setModal(true);
setWindowModality(Qt::WindowModal);
} }
}; };

View File

@ -119,6 +119,9 @@ What's new
- Avoid a case of stuck cursor after entering an inset (bug 10630). - Avoid a case of stuck cursor after entering an inset (bug 10630).
- Fix problems with hidden "BibTeX Add" dialogs on MacOSX by using drawers
instead of modal subdialogs (bug 10662).
- Don't swallow labels not entered through the toolbar in mathed (bug 10546). - Don't swallow labels not entered through the toolbar in mathed (bug 10546).
- Fix bad context menu on insets that do not have one (bug 10616). - Fix bad context menu on insets that do not have one (bug 10616).