]> git.lyx.org Git - features.git/commitdiff
Fix bug that the view source window remains disabled forever when autoUpdate is not...
authorVincent van Ravesteijn <vfr@lyx.org>
Tue, 31 Mar 2009 15:29:51 +0000 (15:29 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Tue, 31 Mar 2009 15:29:51 +0000 (15:29 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28992 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiViewSource.cpp

index 364512d15ac5b860cc04967e39a84629672efb4e..93c777b3bbb10dc490a3889e1990a182ff073606 100644 (file)
@@ -169,7 +169,7 @@ GuiViewSource::~GuiViewSource()
 
 void GuiViewSource::updateView()
 {
-       if (widget_->autoUpdateCB->isChecked()) {
+       if (!widget_->isEnabled() || widget_->autoUpdateCB->isChecked()) {
                widget_->setBufferView(bufferview());
                widget_->updateView();
        }