From 9e390cff8b42cfa9ba1dc4b5467276bbae87b226 Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Mon, 17 Apr 2023 09:08:46 -0400 Subject: [PATCH] initialize as a bridge device --- platform/qt/dmxwidget/dmxwidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/qt/dmxwidget/dmxwidget.cpp b/platform/qt/dmxwidget/dmxwidget.cpp index a6ed523..2dd5f8f 100644 --- a/platform/qt/dmxwidget/dmxwidget.cpp +++ b/platform/qt/dmxwidget/dmxwidget.cpp @@ -62,7 +62,10 @@ void DmxWidget::open() getSerialNumber(); // request a serial number getParameters(0); // get the metadata while we're here if (wait_for(reply_serial)) // widget is found if a serial number reply is received + { + setModeBridge(); // widget defaults to bridge, so sync our state emit connectedChanged(isConnected()); + } else close(); }