Skip to content

Commit

Permalink
gtkui: don't reset column sort order after sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksiy-Yakovenko committed Feb 10, 2024
1 parent 5e1b03e commit 76b765e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/gtkui/playlist/playlistcontroller.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,6 @@ playlist_controller_message (playlist_controller_t *ctl, uint32_t id, uintptr_t
}
break;
case DB_EV_PLAYLISTCHANGED:
if (p1 == DDB_PLAYLIST_CHANGE_CONTENT || p1 == DDB_PLAYLIST_CHANGE_PLAYQUEUE) {
g_idle_add (playlist_sort_reset_cb, ctl->listview);
}
if (p1 == DDB_PLAYLIST_CHANGE_CONTENT ||
(p1 == DDB_PLAYLIST_CHANGE_SELECTION && (p2 != PL_MAIN || (DdbListview *)ctx != ctl->listview)) ||
p1 == DDB_PLAYLIST_CHANGE_PLAYQUEUE) {
Expand Down

0 comments on commit 76b765e

Please sign in to comment.