Skip to content

Commit

Permalink
osc: fix invalid widget for serial port
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Jan 18, 2025
1 parent 695fda9 commit 11ef87a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ OSCTransportWidget::OSCTransportWidget(
m_tcp = new TCPWidget{proto, this};
m_transportLayout->addWidget(m_tcp);

m_tcp_server = new TCPServerWidget{proto, this};
m_transportLayout->addWidget(m_tcp_server);

m_serial = new SerialWidget{proto, this};
m_transportLayout->addWidget(m_serial);

Expand All @@ -62,6 +59,9 @@ OSCTransportWidget::OSCTransportWidget(

m_ws_server = new WebsocketServerWidget{proto, this};
m_transportLayout->addWidget(m_ws_server);

m_tcp_server = new TCPServerWidget{proto, this};
m_transportLayout->addWidget(m_tcp_server);
}

void OSCTransportWidget::setCurrentProtocol(OscProtocol index)
Expand Down

0 comments on commit 11ef87a

Please sign in to comment.