]> git.lyx.org Git - lyx.git/commitdiff
This change solves dialog stacking problems on newer Mac OS X in combination with...
authorStephan Witt <switt@lyx.org>
Tue, 12 Sep 2017 09:05:42 +0000 (11:05 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 14 Oct 2017 15:58:10 +0000 (17:58 +0200)
(cherry picked from commit 97dc58513884bb89b6a015c2c7dc61c8bb3f7dfe)
(cherry picked from commit 1460e8fe6f695720fe67cd0493701956da6d923e)

src/frontends/qt4/GuiBibtex.cpp
src/frontends/qt4/GuiBibtex.h
status.22x

index c29b6262a827bf70a023e8076e4f77f0740cf2ef..cfd4a239fba734f66fd857cddd2692a331341734 100644 (file)
@@ -56,6 +56,7 @@ GuiBibtex::GuiBibtex(GuiView & lv)
        setupUi(this);
 
        QDialog::setModal(true);
+       setWindowModality(Qt::WindowModal);
 
        connect(okPB, SIGNAL(clicked()),
                this, SLOT(slotOK()));
index 3ce3ada32d5031665519c8972927f94e9c25eade..496d55df92678a192f78963615271e3307d5f9a1 100644 (file)
@@ -31,6 +31,7 @@ public:
        {
                Ui::BibtexAddUi::setupUi(this);
                QDialog::setModal(true);
+               setWindowModality(Qt::WindowModal);
        }
 };
 
index 9c1f2cc86a54c4002d16af0e3515dc6c3de19a1d..58e47e055e5412602c730fc26b6f261eaf28fbfe 100644 (file)
@@ -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).