ObjectListWnd, dont sort on empty columns

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderator: Committer

Post Reply
Message
Author
User avatar
vincele
Space Dragon
Posts: 341
Joined: Sun Mar 23, 2014 6:10 pm

ObjectListWnd, dont sort on empty columns

#1 Post by vincele »

When you click on the header button of an empty column, sorting happens when it should not, the attached patch fixes it for me.

[The extension diff has been deactivated and can no longer be displayed.]

Edited the typo'ed post subject...
Last edited by vincele on Wed Jul 30, 2014 5:19 pm, edited 3 times in total.
All the patches I'll provide for freeorion will be released under the GPL v2 or later license.
Let's unleash the dyson forest powa!

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: OnjecListWnd, dont sort on empty columns

#2 Post by Geoff the Medio »

Doesn't bother me... but OK, fine. I adjusted the patch, though: https://sourceforge.net/p/freeorion/code/7302/

User avatar
vincele
Space Dragon
Posts: 341
Joined: Sun Mar 23, 2014 6:10 pm

Re: OnjecListWnd, dont sort on empty columns

#3 Post by vincele »

Thanks, I'm chasing small things to get accustomed with the code. So you'll get other ones from the same kind...
All the patches I'll provide for freeorion will be released under the GPL v2 or later license.
Let's unleash the dyson forest powa!

Post Reply