Skip to content

Qt properties editor could sort lines labels using natsort #6315

@anntzer

Description

@anntzer

When there are more than 10 (unlabeled) lines in a graph, they appear in the combobox as

_line0
_line1
_line10
_line11
...
_line2
_line3

etc.

"Natural" integer sorting (https://pypi.python.org/pypi/natsort) would be, well, more natural here. Or one could hack the "default" labels ("_lineX") to return a str subclass with a custom comparator, so that other labels are not affected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy