Commit 59259cb7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix modify values

parent e6809022
Pipeline #110647 passed with stage
in 13 minutes and 30 seconds
......@@ -60,8 +60,9 @@ void ConfirmBeforeDeletingWidget::slotEditRule()
const ConfirmBeforeDeletingCreateRuleWidget::ConfirmBeforeDeletingInfo currentInfo(item->text(1), item->text(0));
dlg->setInfo(currentInfo);
if (dlg->exec()) {
if (currentInfo != currentInfo) {
initializeItem(item, currentInfo);
const ConfirmBeforeDeletingCreateRuleWidget::ConfirmBeforeDeletingInfo newInfo = dlg->info();
if (currentInfo != newInfo) {
initializeItem(item, newInfo);
}
}
delete dlg;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment