UI: AppGroups: Fix tab moving in Service mode

This commit is contained in:
Nodir Temirkhodjaev 2022-06-06 16:24:15 +03:00
parent 613728369b
commit d89b057301

View File

@ -215,7 +215,7 @@ void FirewallConf::moveAppGroup(int from, int to)
{
const int lo = qMin(from, to);
const int hi = qMax(from, to);
for (int i = lo; i >= hi; --i) {
for (int i = lo; i <= hi; ++i) {
AppGroup *appGroup = m_appGroups.at(i);
appGroup->setEdited(true);
}