Disable full source viewing when the dialog is restored.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26941 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-10-18 13:27:59 +00:00
parent bcbf7c6452
commit 757f975337

View File

@ -201,9 +201,11 @@ void GuiViewSource::saveSession() const
void GuiViewSource::restoreSession()
{
DockView::restoreSession();
// FIXME: Full source updating is too slow to be done at startup.
//widget_->viewFullSourceCB->setChecked(
// settings.value(sessionKey() + "/fullsource", false).toBool());
widget_->viewFullSourceCB->setChecked(false);
QSettings settings;
widget_->viewFullSourceCB->setChecked(
settings.value(sessionKey() + "/fullsource", false).toBool());
widget_->autoUpdateCB->setChecked(
settings.value(sessionKey() + "/autoupdate", true).toBool());
}