diff options
| author | Mikaƫl Capelle <capelle.mikael@gmail.com> | 2021-01-18 23:13:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-18 23:13:55 +0100 |
| commit | 9997412a39208f2f44b31c6f86d0e58e56551572 (patch) | |
| tree | 20685947f73d587738a9f1c5191c05d4aa99a560 /src/modlist.cpp | |
| parent | 13bf05cfde184990817d0d14dad00e5000556a89 (diff) | |
| parent | 8a49f2232e546e022a6f435b8a0d466911b0b58c (diff) | |
Merge pull request #1373 from Holt59/fix-change-priority
Fix change priority
Diffstat (limited to 'src/modlist.cpp')
| -rw-r--r-- | src/modlist.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp index 1c097db4..ffa841ed 100644 --- a/src/modlist.cpp +++ b/src/modlist.cpp @@ -609,8 +609,7 @@ bool ModList::setData(const QModelIndex &index, const QVariant &value, int role) newPriority = 0; } if (ok) { - m_Profile->setModPriority(modID, newPriority); - emit modPrioritiesChanged({ index }); + changeModPriority(modID, newPriority); result = true; } else { result = false; |
