From 757f975337b808d7c65aa3c27d65ad70e6836efd Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sat, 18 Oct 2008 13:27:59 +0000 Subject: [PATCH] First part of http://bugzilla.lyx.org/show_bug.cgi?id=5347 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 --- src/frontends/qt4/GuiViewSource.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiViewSource.cpp b/src/frontends/qt4/GuiViewSource.cpp index 8b4f93f34d..991877bea7 100644 --- a/src/frontends/qt4/GuiViewSource.cpp +++ b/src/frontends/qt4/GuiViewSource.cpp @@ -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()); } -- 2.39.2