From 5c4a60fd203f43b1b6f1de95ee74e59835d9e211 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 20 Jan 2023 17:44:09 +0200 Subject: [PATCH 29/29] Ruledit: Correct units tab layout in experimental builds See osdn #46508 Signed-off-by: Marko Lindqvist --- tools/ruledit/tab_unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ruledit/tab_unit.cpp b/tools/ruledit/tab_unit.cpp index c70afb82ab..81f7c1c857 100644 --- a/tools/ruledit/tab_unit.cpp +++ b/tools/ruledit/tab_unit.cpp @@ -94,7 +94,7 @@ tab_unit::tab_unit(ruledit_gui *ui_in) : QWidget() button = new QPushButton(QString::fromUtf8(R__("Add Unit")), this); connect(button, SIGNAL(pressed()), this, SLOT(add_now())); - unit_layout->addWidget(button, but_row++, 0); + unit_layout->addWidget(button, but_row, 0); show_experimental(button); button = new QPushButton(QString::fromUtf8(R__("Remove this Unit")), this); -- 2.39.0