mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix bug #10881.
This commit is contained in:
parent
470d83de1e
commit
4d88ef32da
@ -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)));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user