Do not show time input when it's not needed

This commit is contained in:
DarkPhoenix
2019-06-28 22:08:19 +03:00
parent 988688939b
commit eff0510092

View File

@@ -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