#10662 use drawers for bibliography dialogs

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)
This commit is contained in:
Stephan Witt 2017-09-12 11:05:42 +02:00
parent 06e5617cd7
commit 1460e8fe6f
2 changed files with 2 additions and 0 deletions

View File

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

View File

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