From 831e35a17c893132fe97f541e8de4ba5748daca3 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 1 Apr 2021 05:37:10 +0300 Subject: [PATCH 35/36] Ruledit: Allow entering effect values in range -1000 - 1000 It used to be limited to just 0 - 99. See osdn #41892 Signed-off-by: Marko Lindqvist --- tools/ruledit/effect_edit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/ruledit/effect_edit.cpp b/tools/ruledit/effect_edit.cpp index bee2fd9170..b435264876 100644 --- a/tools/ruledit/effect_edit.cpp +++ b/tools/ruledit/effect_edit.cpp @@ -88,6 +88,7 @@ effect_edit::effect_edit(ruledit_gui *ui_in, QString target, lbl = new QLabel(R__("Value:")); active_layout->addWidget(lbl, 2); value_box = new QSpinBox(this); + value_box->setRange(-1000, 1000); active_layout->addWidget(value_box, 3); connect(value_box, SIGNAL(valueChanged(int)), this, SLOT(set_value(int))); -- 2.30.2