Author Topic: Renaming category from accordion listview fails with leading spaces  (Read 1254 times)

ExternalCommand

  • Newbie
  • *
  • Posts: 5
If you rename category from the accordion listview and use any leading spaces it will work the first time. Trying to rename it will no longer work afterwards. Only manually editing category for every command contained within can change it.

Edit: Just wanted to add I'd rather not enforce a trimmed name, just a fix so leading spaces can still be renamed. If the sorting could be adjusted, using leading spaces makes a pretty good pseudo sub-category layout look.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Renaming category from accordion listview fails with leading spaces
« Reply #1 on: January 29, 2020, 10:48:25 AM »
Indeed. Restarting VoiceAttack does not alleviate the issue. This also happens with v1.7.8

Leading spaces are normally trimmed, and it is not possible to have a category with them when using the "Category" field in the "Add/Edit a Command" window. Only the "Rename Category" dialog erroneously allows them (even though the "To" field trims them initially; Apparently they are not trimmed again when clicking "OK").

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: Renaming category from accordion listview fails with leading spaces
« Reply #2 on: January 29, 2020, 08:59:00 PM »
The category rename form now trims spaces -  well... it will in the next release.  Thanks for the heads up!