input merging mechanism

This commit is contained in:
Jakob Ketterl
2021-02-19 14:53:30 +01:00
parent bec61465c9
commit 4316832b95
2 changed files with 13 additions and 10 deletions

View File

@ -17,9 +17,9 @@ class RtlSdrSource(ConnectorSource):
class RtlSdrDeviceDescription(SdrDeviceDescription):
def getInputs(self) -> List[Input]:
return [
TextInput(
"test",
"This is a drill"
),
]
return self.mergeInputs(
super().getInputs(),
[
TextInput("test", "This is a drill"),
],
)