From 84b945a5b371c0deb7d0aba1bdf2c4d744ae2e19 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 11 Mar 2022 19:42:38 +0200 Subject: [PATCH 41/41] Ruledit: Set initial text for enablers tab buttons See osdn #44030 Signed-off-by: Marko Lindqvist --- tools/ruledit/tab_enablers.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/ruledit/tab_enablers.cpp b/tools/ruledit/tab_enablers.cpp index 1b1eee36bd..1735c8dcb9 100644 --- a/tools/ruledit/tab_enablers.cpp +++ b/tools/ruledit/tab_enablers.cpp @@ -128,6 +128,7 @@ tab_enabler::tab_enabler(ruledit_gui *ui_in) : QWidget() type_button->setPopupMode(QToolButton::MenuButtonPopup); type_button->setMenu(type_menu); + type_button->setText(R__("None")); type_button->setEnabled(false); enabler_layout->addWidget(type_button, 0, 2); @@ -161,6 +162,7 @@ tab_enabler::tab_enabler(ruledit_gui *ui_in) : QWidget() repair_button = new QPushButton(this); connect(repair_button, SIGNAL(pressed()), this, SLOT(repair_now())); repair_button->setEnabled(false); + repair_button->setText(QString::fromUtf8(R__("Enabler Issues"))); enabler_layout->addWidget(repair_button, 3, 1); refresh(); -- 2.34.1