diff --git a/RedPandaIDE/widgets/compileargumentswidget.cpp b/RedPandaIDE/widgets/compileargumentswidget.cpp index bd1abcf7..5e4b41b6 100644 --- a/RedPandaIDE/widgets/compileargumentswidget.cpp +++ b/RedPandaIDE/widgets/compileargumentswidget.cpp @@ -92,7 +92,7 @@ QMap CompileArgumentsWidget::arguments( bool includeUnset) con { QSpinBox* pInput = static_cast(pLayout->itemAtPosition(j,2)->widget()); int val=pInput->value(); - if (val>0) + if (val>=0) args.insert(key,QString("%1").arg(val)); else { if (includeUnset)