ConfigLocation.isChanged() always crashes UI

Issue #598 resolved
prl created an issue

ConfigLocation.isChanged() references undefined variable val. It should test sv.

The test for being changed is also incorrect if sv == None.

Encountered while investigating fix for bug #597.

Comments (1)

  1. Peter Urbanec

    Fix Bug #598: ConfigLocation.isChanged() always crashes UI

    Use sv as the test for whether a saved value is set instead of the undefined val.

    Change the testing so that if there is no saved value but there is a default, the default is tested against the new value to check whether there is a change.

    → <<cset ae18d76b45eb>>

  2. Log in to comment