mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
revert r32764.
Still this code hurts my eyes. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32765 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7356db3818
commit
42f455cacb
@ -75,10 +75,12 @@ GuiProgressView::GuiProgressView(GuiView & parent, Qt::DockWidgetArea area,
|
||||
box->level = level;
|
||||
widget_->settingsLayout->addWidget(box, (i + 3) % 10, (i + 3) / 10);
|
||||
|
||||
if (level == Debug::ANY)
|
||||
box->setChecked(levels == level);
|
||||
box->setChecked(false);
|
||||
if ((levels == Debug::ANY) && (levels == level))
|
||||
box->setChecked(true);
|
||||
else
|
||||
box->setChecked(levels & level);
|
||||
if ((level != Debug::ANY) && (levels & level))
|
||||
box->setChecked(true);
|
||||
|
||||
level_buttons << box;
|
||||
connect(box, SIGNAL(stateChanged(int)), this, SLOT(levelChanged()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user