mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
We don't want to restore geometry session for dock widgets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26696 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e29edccc3f
commit
4873fb9d6c
@ -49,6 +49,9 @@ public:
|
||||
virtual QWidget * asQWidget() { return this; }
|
||||
virtual QWidget const * asQWidget() const { return this; }
|
||||
|
||||
/// We don't want to restore geometry session for dock widgets.
|
||||
void restoreSession() {}
|
||||
|
||||
/// Dialog inherited methods
|
||||
//@{
|
||||
void applyView() {}
|
||||
|
@ -197,7 +197,7 @@ void GuiViewSource::saveSession() const
|
||||
|
||||
void GuiViewSource::restoreSession()
|
||||
{
|
||||
Dialog::restoreSession();
|
||||
DockView::restoreSession();
|
||||
QSettings settings;
|
||||
widget_->viewFullSourceCB->setChecked(
|
||||
settings.value(sessionKey() + "/fullsource", false).toBool());
|
||||
|
Loading…
Reference in New Issue
Block a user