This commit is contained in:
Richard Heck 2018-02-22 00:17:46 -05:00
parent 470d83de1e
commit 4d88ef32da

View File

@ -165,7 +165,7 @@ void GuiProgressView::levelChanged()
void GuiProgressView::debugSelectionChanged()
{
unsigned int level = Debug::NONE;
Debug::Type level = Debug::NONE;
if (widget_->debugAnyRB->isChecked())
level = Debug::ANY;
else if (widget_->debugSelectedRB->isChecked()) {
@ -180,7 +180,7 @@ void GuiProgressView::debugSelectionChanged()
++it;
}
widget_->debugMessagesTW->setEnabled(false);
dispatch(FuncRequest(LFUN_DEBUG_LEVEL_SET, convert<string>(level)));
dispatch(FuncRequest(LFUN_DEBUG_LEVEL_SET, convert<string>((int)level)));
}