mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:25:18 +00:00
UI: Programs: Improve sorting by "State" column
Alerted programs are always on top.
This commit is contained in:
parent
0729dd979d
commit
20482773c2
@ -323,7 +323,7 @@ QString AppListModel::sqlOrderColumn() const
|
||||
columnsStr = "2";
|
||||
break;
|
||||
case 3: // State
|
||||
columnsStr = "7 " + sqlOrderAsc() + ", 8, 9";
|
||||
columnsStr = "8 DESC, 7 " + sqlOrderAsc() + ", 1";
|
||||
break;
|
||||
default: // Creation Time
|
||||
columnsStr = "1"; // App ID
|
||||
|
Loading…
Reference in New Issue
Block a user