mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
loosen sort condition
This commit is contained in:
1 parent
746c24a369
commit
a22036a4ff
1 file changed
+1
-2
@@ -359,8 +359,7 @@ int ChannelListTree::SortFunc(const Gtk::TreeModel::iterator &a, const Gtk::Tree
|
||||
if (a_type == RenderType::TextChannel && b_type == RenderType::VoiceChannel) return -1;
|
||||
if (b_type == RenderType::TextChannel && a_type == RenderType::VoiceChannel) return 1;
|
||||
#endif
|
||||
if (a_type == b_type) return static_cast<int>(a_sort - b_sort);
|
||||
return 0;
|
||||
return static_cast<int>(a_sort - b_sort);
|
||||
}
|
||||
|
||||
void ChannelListTree::OnPanedPositionChanged() {
|
||||
|
||||
Reference in new issue
Block a user