Always set sort direction to ascending when sorting a new column · jiangdon2007/sqlitebrowser@00bc7db · GitHub
Skip to content

Commit 00bc7db

Browse files
committed
Always set sort direction to ascending when sorting a new column
When changing the sort column in the Browse Data tab we always toggled the sort direction too. So when Field1 was sorted in ascending order, clicking on Field2 would sort it in descending order. If Field1 was sorted in descending order, clicking on Field2 would sort it in ascending order. Now in both cases Field2 is sorted in ascending order first.
1 parent e52f205 commit 00bc7db

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎src/MainWindow.cpp‎

Lines changed: 6 additions & 3 deletions

0 commit comments

Comments
 (0)