Bug #1076 ยป 0064-Ruledit-Disallow-multiple-req_edits-for-the-same-goo.patch
tools/ruledit/tab_good.cpp | ||
---|---|---|
void tab_good::edit_reqs()
|
||
{
|
||
if (selected != nullptr) {
|
||
req_edit *redit = new req_edit(ui, QString::fromUtf8(goods_rule_name(selected)),
|
||
&selected->reqs);
|
||
redit->show();
|
||
ui->open_req_edit(QString::fromUtf8(goods_rule_name(selected)),
|
||
&selected->reqs);
|
||
}
|
||
}
|
||