mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
* src/frontends/qt4/Dialogs.cpp:
- put view-source drawer to the right in Mac (bug 3564) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18537 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2dca49b74a
commit
ccdc21f11c
@ -243,8 +243,14 @@ Dialogs::DialogPtr Dialogs::build(string const & name)
|
||||
QViewSource * qvs = new QViewSource(*dialog);
|
||||
dialog->setController(qvs);
|
||||
GuiView & gui_view = static_cast<GuiView &>(lyxview_);
|
||||
#ifdef Q_WS_MACX
|
||||
// Mac uses a drawer that should be on the right.
|
||||
dialog->setView(new DockView<QViewSource, QViewSourceDialog>(
|
||||
*dialog, qvs, &gui_view, _("LaTeX Source")));
|
||||
#else
|
||||
dialog->setView(new DockView<QViewSource, QViewSourceDialog>(
|
||||
*dialog, qvs, &gui_view, _("LaTeX Source"), Qt::BottomDockWidgetArea));
|
||||
#endif
|
||||
dialog->bc().bp(new OkCancelPolicy);
|
||||
} else if (name == "mathdelimiter") {
|
||||
dialog->setController(new ControlMath(*dialog));
|
||||
|
Loading…
Reference in New Issue
Block a user