Browse Source

Fix broken behavior of "priority by shown file order"

Closes #15421.
PR #15423.
adaptive-webui-19844
Chocobo1 3 years ago committed by GitHub
parent
commit
7a6edcdddb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/gui/properties/propertieswidget.cpp

5
src/gui/properties/propertieswidget.cpp

@ -639,7 +639,7 @@ void PropertiesWidget::displayFilesListMenu(const QPoint &) @@ -639,7 +639,7 @@ void PropertiesWidget::displayFilesListMenu(const QPoint &)
}
// Save changes
filteredFilesChanged();
this->applyPriorities();
};
QMenu *subMenu = menu->addMenu(tr("Priority"));
@ -692,6 +692,9 @@ void PropertiesWidget::displayFilesListMenu(const QPoint &) @@ -692,6 +692,9 @@ void PropertiesWidget::displayFilesListMenu(const QPoint &)
const QModelIndex &index = selectedRows[i];
m_propListModel->setData(index.sibling(index.row(), PRIORITY)
, static_cast<int>(priority));
// Save changes
this->applyPriorities();
}
});
}

Loading…
Cancel
Save