Page 1 of 1

Wrong Default

Posted: 04 Oct 2007 17:21
by jacky
This might not really be a bug per-se, but I think this might not be the best way to do. Recent new options were added, and defaulted to another state than the previous hard-coded one.

I'm thinking of options such as "Automatically show non-previewed file types in ASCII/Hex mode (Raw View)" or "Files commands in List context menu"

Ok, maybe you like it better that way for newbies, but for users upgrading, this might not be the best (especially those who don't have a tent on those forums ;)). Isn't there a way so that new users (=no INI) have the "new default", while old/upgrading users get the "old default" ?

Re: Wrong Default

Posted: 04 Oct 2007 18:43
by admin
Okay, why not:

Code: Select all

    If fRead Then
      ' backward compatibility code
      If sLastVersion < "6.30.0044" Then
        ' preserve the old hard-coded defaults for options that are now configurable
        iPreviewRawIfNoneBetter = 1
        iFindCommandsInContextMenu = 1
      End If
      ...
:)

Posted: 04 Oct 2007 20:11
by jacky
Yep, better that way IMO 8)