[Low priority] Only saving settings with non-default values

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
now
Member
Member
Posts: 181
Joined: 2006-11-01, 08:34 UTC

[Low priority] Only saving settings with non-default values

Post by *now »

As I often delve into my wincmd.ini to change things it would be nice if only the settings that aren’t set to their default values were written out to the ini file when you mess about in the configuration dialog, whih I often do as well. This way it’s a lot easier to keep track of what settings that I’ve actually changed to something non-standard.

It’s low priority as hell, but I can’t imagine that it would be very hard to implement. An if-statement should theoretically be enough:

if (settings.value != settings.default)
write_setting(settings);

or something like that.
Post Reply