mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Restrict Adv. Search pane to sides and floating (#12982)
The horizontal reordering for bottom and top is too broken. This needs some major investigation (probably for 2.5).
This commit is contained in:
parent
3b7f6d614d
commit
153be65d14
@ -664,13 +664,16 @@ FindAndReplace::FindAndReplace(GuiView & parent,
|
|||||||
widget_ = new FindAndReplaceWidget(parent);
|
widget_ = new FindAndReplaceWidget(parent);
|
||||||
setWidget(widget_);
|
setWidget(widget_);
|
||||||
setFocusProxy(widget_);
|
setFocusProxy(widget_);
|
||||||
|
// FIXME: Allow all areas once the dialog re-orientation is fixed
|
||||||
|
setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea | Qt::NoDockWidgetArea);
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
// On Mac show and floating
|
// On Mac show and floating
|
||||||
setFloating(true);
|
setFloating(true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
connect(this, SIGNAL(dockLocationChanged(Qt::DockWidgetArea)),
|
// FIXME: uncomment once the dialog re-orientation is fixed
|
||||||
widget_, SLOT(dockLocationChanged(Qt::DockWidgetArea)));
|
// connect(this, SIGNAL(dockLocationChanged(Qt::DockWidgetArea)),
|
||||||
|
// widget_, SLOT(dockLocationChanged(Qt::DockWidgetArea)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user