parent
2b97f98151
commit
7cbcfc5525
|
@ -232,7 +232,7 @@ class SettingsPane:
|
||||||
except ValueError:
|
except ValueError:
|
||||||
log.error(f'Invalid value for `{key}`: {value}')
|
log.error(f'Invalid value for `{key}`: {value}')
|
||||||
|
|
||||||
# READ out settings and update UI
|
# READ out settings and update the status UI / settings widgets
|
||||||
suffix = {'currency': ' $', 'units': ' u'}[size_unit]
|
suffix = {'currency': ' $', 'units': ' u'}[size_unit]
|
||||||
limit = alloc.limit()
|
limit = alloc.limit()
|
||||||
|
|
||||||
|
@ -259,6 +259,9 @@ class SettingsPane:
|
||||||
self.form.fields['slots'].setText(str(alloc.slots))
|
self.form.fields['slots'].setText(str(alloc.slots))
|
||||||
self.form.fields['limit'].setText(str(limit))
|
self.form.fields['limit'].setText(str(limit))
|
||||||
|
|
||||||
|
# update of level marker size label based on any new settings
|
||||||
|
tracker.update_from_pp()
|
||||||
|
|
||||||
# TODO: maybe return a diff of settings so if we can an error we
|
# TODO: maybe return a diff of settings so if we can an error we
|
||||||
# can have general input handling code to report it through the
|
# can have general input handling code to report it through the
|
||||||
# UI in some way?
|
# UI in some way?
|
||||||
|
|
Loading…
Reference in New Issue