Feature #448 ยป 0044-Ruledit-Enable-tech-add-remove-on-regular-builds.patch
tools/ruledit/tab_tech.cpp | ||
---|---|---|
add_button = new QPushButton(QString::fromUtf8(R__("Add tech")), this);
|
||
connect(add_button, SIGNAL(pressed()), this, SLOT(add_now()));
|
||
tech_layout->addWidget(add_button, row, 0);
|
||
show_experimental(add_button);
|
||
delete_button = new QPushButton(QString::fromUtf8(R__("Remove this tech")), this);
|
||
connect(delete_button, SIGNAL(pressed()), this, SLOT(delete_now()));
|
||
tech_layout->addWidget(delete_button, row++, 2);
|
||
show_experimental(delete_button);
|
||
refresh();
|
||
update_tech_info(nullptr);
|