mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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);
|
||||
setWidget(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
|
||||
// On Mac show and floating
|
||||
setFloating(true);
|
||||
#endif
|
||||
|
||||
connect(this, SIGNAL(dockLocationChanged(Qt::DockWidgetArea)),
|
||||
widget_, SLOT(dockLocationChanged(Qt::DockWidgetArea)));
|
||||
// FIXME: uncomment once the dialog re-orientation is fixed
|
||||
// connect(this, SIGNAL(dockLocationChanged(Qt::DockWidgetArea)),
|
||||
// widget_, SLOT(dockLocationChanged(Qt::DockWidgetArea)));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user