Print a message to indicate what value was passed in for user command widget.

No commands are implemented yet.
pull/6/head
Alligitor 2025-04-22 16:55:17 +00:00
parent 347e062026
commit c39ab8477a
1 changed files with 4 additions and 0 deletions

View File

@ -177,6 +177,10 @@ class LoRaMonUIApp:
#only support coding rages 5 .. 8
if valueInt >= 5 and valueInt <= 8:
self.sendParameterToRadio(widgetName, valueInt)
case "user_command":
#handle the widget that handles generic commands
#right now, nothing is implemented, just print a message to show what was received.
self.appendToOutputWidget(f"Widget {widgetName} received {value}")
case _:
None