From: Stephan Witt Date: Tue, 12 Sep 2017 09:05:42 +0000 (+0200) Subject: This change solves dialog stacking problems on newer Mac OS X in combination with... X-Git-Tag: 2.2.4~76 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=108deae543f7514cbdb71f3979640b15544930bf;p=features.git This change solves dialog stacking problems on newer Mac OS X in combination with the OS provided file open dialog. (cherry picked from commit 97dc58513884bb89b6a015c2c7dc61c8bb3f7dfe) (cherry picked from commit 1460e8fe6f695720fe67cd0493701956da6d923e) --- diff --git a/src/frontends/qt4/GuiBibtex.cpp b/src/frontends/qt4/GuiBibtex.cpp index c29b6262a8..cfd4a239fb 100644 --- a/src/frontends/qt4/GuiBibtex.cpp +++ b/src/frontends/qt4/GuiBibtex.cpp @@ -56,6 +56,7 @@ GuiBibtex::GuiBibtex(GuiView & lv) setupUi(this); QDialog::setModal(true); + setWindowModality(Qt::WindowModal); connect(okPB, SIGNAL(clicked()), this, SLOT(slotOK())); diff --git a/src/frontends/qt4/GuiBibtex.h b/src/frontends/qt4/GuiBibtex.h index 3ce3ada32d..496d55df92 100644 --- a/src/frontends/qt4/GuiBibtex.h +++ b/src/frontends/qt4/GuiBibtex.h @@ -31,6 +31,7 @@ public: { Ui::BibtexAddUi::setupUi(this); QDialog::setModal(true); + setWindowModality(Qt::WindowModal); } }; diff --git a/status.22x b/status.22x index 9c1f2cc86a..58e47e055e 100644 --- a/status.22x +++ b/status.22x @@ -119,6 +119,9 @@ What's new - 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). - Fix bad context menu on insets that do not have one (bug 10616).