GuiProgressView.cpp:

- fix #6509: All Progressview levels should be set
	  after selecting 'All' radio button

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33340 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2010-02-06 14:38:02 +00:00
parent 2d2c90f94d
commit 46dc00ca92

View File

@ -151,6 +151,12 @@ void GuiProgressView::debugSelectionChanged()
levelChanged(); levelChanged();
return; return;
} }
QTreeWidgetItemIterator it(widget_->debugMessagesTW);
while (*it) {
(*it)->setText(1, level == Debug::NONE ?
qt_("No") : qt_("Yes"));
++it;
}
widget_->debugMessagesTW->setEnabled(false); widget_->debugMessagesTW->setEnabled(false);
dispatch(FuncRequest(LFUN_DEBUG_LEVEL_SET, convert<string>(level))); dispatch(FuncRequest(LFUN_DEBUG_LEVEL_SET, convert<string>(level)));
} }