Disable adding and removing fit funcs in param study
This commit is contained in:
@ -450,6 +450,7 @@ def create():
|
|||||||
("Pseudo Voigt1", "pseudovoigt1"),
|
("Pseudo Voigt1", "pseudovoigt1"),
|
||||||
],
|
],
|
||||||
default_size=145,
|
default_size=145,
|
||||||
|
disabled=True,
|
||||||
)
|
)
|
||||||
fitparams_add_dropdown.on_click(fitparams_add_dropdown_callback)
|
fitparams_add_dropdown.on_click(fitparams_add_dropdown_callback)
|
||||||
|
|
||||||
@ -484,7 +485,7 @@ def create():
|
|||||||
|
|
||||||
fitparams_select.value = []
|
fitparams_select.value = []
|
||||||
|
|
||||||
fitparams_remove_button = Button(label="Remove fit function", default_size=145)
|
fitparams_remove_button = Button(label="Remove fit function", default_size=145, disabled=True)
|
||||||
fitparams_remove_button.on_click(fitparams_remove_button_callback)
|
fitparams_remove_button.on_click(fitparams_remove_button_callback)
|
||||||
|
|
||||||
def fitparams_factory(function):
|
def fitparams_factory(function):
|
||||||
|
Reference in New Issue
Block a user