mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-08 18:19:42 +00:00
make dialog stay above the main window
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21809 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c06f45a66f
commit
69f195acd1
@ -11,10 +11,12 @@
|
||||
#include <config.h>
|
||||
|
||||
#include "GuiDialog.h"
|
||||
#include "GuiView.h"
|
||||
#include "debug.h"
|
||||
#include "qt_helpers.h"
|
||||
|
||||
#include <QCloseEvent>
|
||||
#include <QMainWindow>
|
||||
#include <QSettings>
|
||||
#include <QShowEvent>
|
||||
|
||||
@ -24,7 +26,7 @@ namespace lyx {
|
||||
namespace frontend {
|
||||
|
||||
GuiDialog::GuiDialog(GuiView & lv, std::string const & name)
|
||||
: Dialog(lv, name), is_closing_(false)
|
||||
: QDialog(&lv), Dialog(lv, name), is_closing_(false)
|
||||
{}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user