Skip to content

Commit 03ce140

Browse files
committed
Swap sort order indicators
This way they are more in line with other applications. See issue #2912.
1 parent 2cd5114 commit 03ce140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sqlitetablemodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ QVariant SqliteTableModel::headerData(int section, Qt::Orientation orientation,
222222
const sqlb::OrderBy sortedColumn = m_query.orderBy()[i];
223223
// Append sort indicator with direction and ordinal number in superscript style
224224
if (sortedColumn.expr == plainHeader) {
225-
sortIndicator = sortedColumn.direction == sqlb::OrderBy::Ascending ? " " : " ";
225+
sortIndicator = sortedColumn.direction == sqlb::OrderBy::Ascending ? " " : " ";
226226
sortIndicator.append(toSuperScript(i+1));
227227
break;
228228
}

0 commit comments

Comments
 (0)