Zhorn Software
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
LaurentG
Posts : 113
Join date : 2020-01-16

Be able to rename Default style Empty Be able to rename Default style

Sun Oct 31, 2021 8:15 pm
In settings / Appearance, it is possible to rename all the styles, except the default one, style 0

I used to imagine it was because its name wasn't stored in database, but was only given by a string resource in the app (or in the localization dll).

Due to exchanges with @Goppi (in https://zhornsoftware.forumotion.com/t559-converting-data), I have discovered that its name is likely given from the resource at databse creation time (at the first use of app)... but is stored in database in style01.code option.

As a result, there is no more any reason to greyed out its name in settings display and to prevent its renaming.

So, please make the name of default style updatable as for any other style.

goppi likes this post

Admin
Admin
Admin
Posts : 551
Join date : 2018-03-30
Location : London
http://www.zhornsoftware.co.uk

Be able to rename Default style Empty Re: Be able to rename Default style

Wed Nov 03, 2021 9:05 pm
It's not locked for any malicious reason - but to try to help users understand the app!

If you've got that far into the database then you can see how to change it for yourself - it's safe to do so.  The value is written at database create time as you've found, and it's taken from whatever language Stickies is using at that point.  If you start a new database with the French language DLL in place, it will be "Défaut".  I do appreciate that's not usually going to be the situation though - I suspect most people will try the app in the original English, and only look to change the language if they think it's going to be useful.

I'll make a note to look at allowing the editing.

Tom
Back to top
Permissions in this forum:
You can reply to topics in this forum