Add more appropriate default params
parent
ee4ad32d3b
commit
30cf54480d
|
@ -158,7 +158,11 @@ async def open_fsp_sidepane(
|
||||||
sidepane.model = FspConfig()
|
sidepane.model = FspConfig()
|
||||||
|
|
||||||
# just a logger for now until we get fsp configs up and running.
|
# just a logger for now until we get fsp configs up and running.
|
||||||
async def settings_change(key: str, value: str) -> bool:
|
async def settings_change(
|
||||||
|
key: str,
|
||||||
|
value: str
|
||||||
|
|
||||||
|
) -> bool:
|
||||||
print(f'{key}: {value}')
|
print(f'{key}: {value}')
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@ -573,12 +577,14 @@ async def open_vlm_displays(
|
||||||
async with (
|
async with (
|
||||||
open_fsp_sidepane(
|
open_fsp_sidepane(
|
||||||
linked, {
|
linked, {
|
||||||
'vlm': {
|
'flows': {
|
||||||
|
|
||||||
|
# TODO: add support for dynamically changing these
|
||||||
'params': {
|
'params': {
|
||||||
'price_func': {
|
u'\u03BC' + '_type': {'default_value': 'arithmetic'},
|
||||||
'default_value': 'chl3',
|
'period': {
|
||||||
# tell target ``Edit`` widget to not allow
|
'default_value': '16',
|
||||||
# edits for now.
|
# make widget un-editable for now.
|
||||||
'widget_kwargs': {'readonly': True},
|
'widget_kwargs': {'readonly': True},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue