StrataSource / Engine

Issue tracker for Strata Source
46 stars 2 forks source link

Enhancement: Allow unsorting entity keyvalues #175

Open hexaflexahexagon opened 2 years ago

hexaflexahexagon commented 2 years ago

What would this enhancement be for?

Hammer

Describe your enhancement suggestion in more detail:

Entity key values normally look like the following: image

But can be sorted in alphabetical order by property name or value image

However once clicking and changing the order to alphabetical it is impossible to return to the first image's ordering.

As a sidenote going from ascending to descending order does nothing, which may or may not be related. The arrow will flip but no elements will move.

vrad-exe commented 2 years ago

If you toggle SmartEdit off and on, it'll reset the sort order. There should definitely be a proper button for it.

vrad-exe commented 2 years ago

On a related note, in P2 Hammer, if a non-FGD keyvalue is present and you try to sort them it'll crash. No idea if that still happens in P2CE, but if it does it should be reported.