mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
fix outline dialog for non-Mac platform.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20178 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c3e3534148
commit
be38aa2638
@ -194,9 +194,13 @@ Dialog * Dialogs::build(string const & name)
|
||||
dialog = new GuiThesaurusDialog(lyxview_);
|
||||
#endif
|
||||
} else if (name == "toc") {
|
||||
#ifdef Q_WS_MACX
|
||||
// On Mac show as a drawer at the right
|
||||
dialog = new DockView<GuiToc, TocWidget>(
|
||||
guiview, name, Qt::RightDockWidgetArea, Qt::Drawer);
|
||||
dialog = new DockView<GuiToc, TocWidget>(guiview, name,
|
||||
Qt::RightDockWidgetArea, Qt::Drawer);
|
||||
#else
|
||||
dialog = new DockView<GuiToc, TocWidget>(guiview, name);
|
||||
#endif
|
||||
} else if (name == "url") {
|
||||
dialog = new GuiURLDialog(lyxview_);
|
||||
} else if (name == "vspace") {
|
||||
|
Loading…
Reference in New Issue
Block a user