Commit dd4909a8 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Minor optimization

parent 930f27d6
Pipeline #45517 passed with stage
in 9 minutes and 30 seconds
...@@ -68,6 +68,7 @@ void GroupManagementWidget::slotCustomContextMenu() ...@@ -68,6 +68,7 @@ void GroupManagementWidget::slotCustomContextMenu()
} else { } else {
item->setText(newNameTrimmed); item->setText(newNameTrimmed);
item->setData(FullPathRole, newFullPath); item->setData(FullPathRole, newFullPath);
Q_EMIT groupsChanged();
} }
} }
}); });
...@@ -82,9 +83,9 @@ void GroupManagementWidget::slotCustomContextMenu() ...@@ -82,9 +83,9 @@ void GroupManagementWidget::slotCustomContextMenu()
} }
delete item; delete item;
} }
Q_EMIT groupsChanged();
}); });
menu.exec(QCursor::pos()); menu.exec(QCursor::pos());
Q_EMIT groupsChanged();
} }
} }
......
Supports Markdown
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