Do not show time input when it's not needed
This commit is contained in:
@@ -44,7 +44,7 @@ class FitCapAmountVsTimeGraph(FitGraph):
|
||||
@property
|
||||
def inputs(self):
|
||||
return [
|
||||
Input(handle='time', unit='s', label='Time', iconID=1392, defaultValue=120, defaultRange=(0, 300), mainOnly=False),
|
||||
Input(handle='time', unit='s', label='Time', iconID=1392, defaultValue=120, defaultRange=(0, 300), mainOnly=True),
|
||||
Input(handle='capAmount', unit='%', label='Cap amount', iconID=1668, defaultValue=25, defaultRange=(0, 100), mainOnly=True)]
|
||||
|
||||
# Calculation stuff
|
||||
|
||||
Reference in New Issue
Block a user