From eeb57ca6fa78d8a1f6e5aaf7663dd7b1d1dde6f8 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Fri, 17 May 2024 18:12:11 +0800 Subject: [PATCH] - fix: In compiler options page, Can't save default stack size to 0MB. --- RedPandaIDE/widgets/compileargumentswidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)