diff options
| author | Silarn <jrim@rimpo.org> | 2018-04-27 20:21:42 -0500 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2018-04-27 20:21:42 -0500 |
| commit | 3114bcbd8dffd60f158dd5a164f5192ed8323f96 (patch) | |
| tree | 52a21494bb13459222d23324f751b2a31e232021 /src/pluginlistsortproxy.cpp | |
| parent | 41a479bddfbcd21640c0871423b819b154956cfa (diff) | |
Fix ESL index display and sorting by index
Diffstat (limited to 'src/pluginlistsortproxy.cpp')
| -rw-r--r-- | src/pluginlistsortproxy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pluginlistsortproxy.cpp b/src/pluginlistsortproxy.cpp index 342b3744..b844e1d8 100644 --- a/src/pluginlistsortproxy.cpp +++ b/src/pluginlistsortproxy.cpp @@ -100,8 +100,8 @@ bool PluginListSortProxy::lessThan(const QModelIndex &left, }
} break;
case PluginList::COL_MODINDEX: {
- int leftVal = plugins->isEnabled(left.row()) ? plugins->getPriority(left.row()) : -1;
- int rightVal = plugins->isEnabled(right.row()) ? plugins->getPriority(right.row()) : -1;
+ int leftVal = plugins->isEnabled(left.row()) ? plugins->getIndexPriority(left.row()) : -1;
+ int rightVal = plugins->isEnabled(right.row()) ? plugins->getIndexPriority(right.row()) : -1;
return leftVal < rightVal;
} break;
default: {
|
