Skip to content

Settings and activity

1 result found

  1. 4 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    Jorma Spitz commented  · 

    a simple work around is to add zeros in front of the numbers. If you expect to have more than 999 cards you should write four digits for each number (0001, 0002, ..., 1004, ...)

    The sorting algorithm seems to look at numbers as if it would be normal text.

    It sorts like this:
    1
    10
    100
    2
    20
    200
    3
    30
    300

    The order with leading zeros would be:
    001
    002
    003
    010
    020
    030
    100
    200
    300

    by the way: isn't it posible to change the sorting behaviour without implementing a custom sort but using just setSortRole() as mentioned here: http://stackoverflow.com/questions/6568161/qt-sorting-is-wrong-when-using-qsortfilterproxymodel-on-number-strings-and-gett ??
    Forgive me if not, I don't know Qt for now... and thanks for this great program, I'm using it since years :-)