Test for match on default value incorrect in ConfigLocation.save()

Issue #599 resolved
prl created an issue

ConfigLocation.save() tests whether self.locations is empty to reset self.saved_value to None, instead of comparing it correctly to self.default.

This means that ConfigLocation values can get saved to the settings file even if they have their default value.

Comments (2)

  1. Peter Urbanec

    Fix Bug #599: Test for match on default value incorrect in ConfigLocation.save()

    Correctly compare the current list of locations with the default locations to decide whether the saved value should be set to None and not written to file.

    Also add callback to notifiers.

    → <<cset d17d235b7902>>

  2. Log in to comment