Hopefully I'm not being too simplistic, but

On 2011.12.30 12:18, Allan wrote:
So, after installation, those two sections are available, and I load into memory from the default config file the parameters for the chosen profile. When the plugin is closed, the current parameters are saved to the user's ~/.kde/4 config location, but this new file contains only the one profile, the one that was first loaded.

Will there be any other profile managment as part of the UI? Renaming profiles? Deleting profiles?

Now, think about a "future" scenario: the user has three profiles saved, and creates a new one. I assume you have to read in the current file (or have already done so) and take those three, add the new one, and write out four to the rc file. Therefore I assume you already have some way of saving an rc file including one or more profiles that have not just been used.

Perhaps if there are no profiles saved in the local file (or there is no local file) then you automatically read in the sample profiles and save them, whether or not either of them was actually used.

You could also have a button somewhere to "Reload all sample profiles"

I don't think any of this actually solves the problem, but hopefully it might give you something to chew on.

Jack
_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel

Reply via email to