commit 108deae543f7514cbdb71f3979640b15544930bf Author: Stephan Witt <sw...@lyx.org> Date: Tue Sep 12 11:05:42 2017 +0200
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) --- src/frontends/qt4/GuiBibtex.cpp | 1 + src/frontends/qt4/GuiBibtex.h | 1 + status.22x | 3 +++ 3 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/frontends/qt4/GuiBibtex.cpp b/src/frontends/qt4/GuiBibtex.cpp index c29b626..cfd4a23 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 3ce3ada..496d55d 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 9c1f2cc..58e47e0 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).