mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
LyX remembers the state and geometry of the advanced find and replace dockview.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37121 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
044bf2b4a7
commit
3d08e82957
@ -568,7 +568,7 @@ bool FindAndReplaceWidget::initialiseParams(std::string const & /*params*/)
|
||||
|
||||
FindAndReplace::FindAndReplace(GuiView & parent,
|
||||
Qt::DockWidgetArea area, Qt::WindowFlags flags)
|
||||
: DockView(parent, "Find LyX", qt_("Advanced Find and Replace"),
|
||||
: DockView(parent, "findreplaceadv", qt_("Advanced Find and Replace"),
|
||||
area, flags)
|
||||
{
|
||||
widget_ = new FindAndReplaceWidget(parent);
|
||||
|
@ -681,6 +681,8 @@ bool GuiView::restoreLayout()
|
||||
dialog->prepareView();
|
||||
if ((dialog = findOrBuild("progress", true)))
|
||||
dialog->prepareView();
|
||||
if ((dialog = findOrBuild("findreplaceadv", true)))
|
||||
dialog->prepareView();
|
||||
|
||||
if (!restoreState(settings.value("layout").toByteArray(), 0))
|
||||
initToolbars();
|
||||
|
Loading…
Reference in New Issue
Block a user