Commit 8993a187 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Allow to edit rule too

parent ed607a4d
......@@ -43,7 +43,14 @@ void ConfirmBeforeDeletingWidget::fillRules()
void ConfirmBeforeDeletingWidget::slotEditRule()
{
// TODO
QPointer<ConfirmBeforeDeletingCreateRuleDialog> dlg = new ConfirmBeforeDeletingCreateRuleDialog(this);
// TODO dlg->setInfo();
if (dlg->exec()) {
const ConfirmBeforeDeletingCreateRuleWidget::ConfirmBeforeDeletingInfo info = dlg->info();
// TODO save it.
}
delete dlg;
}
void ConfirmBeforeDeletingWidget::slotCustomContextMenuRequested(const QPoint &p)
......
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