mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
#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:
parent
1014c6b64d
commit
97dc585138
@ -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()));
|
||||||
|
@ -31,6 +31,7 @@ public:
|
|||||||
{
|
{
|
||||||
Ui::BibtexAddUi::setupUi(this);
|
Ui::BibtexAddUi::setupUi(this);
|
||||||
QDialog::setModal(true);
|
QDialog::setModal(true);
|
||||||
|
setWindowModality(Qt::WindowModal);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user