#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.
This commit is contained in:
Stephan Witt 2017-09-12 11:05:42 +02:00
parent 1014c6b64d
commit 97dc585138
2 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,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);
} }
}; };