jtdx should not crash on start, when SDR is off

This commit is contained in:
Arvo Järve 2021-03-29 22:44:25 +03:00
parent 1e726df090
commit fd15eef445
3 changed files with 31 additions and 31 deletions

View file

@ -5929,8 +5929,8 @@ void Configuration::impl::close_rig ()
if (rig_active_)
{
ui_->test_CAT_push_button->setStyleSheet ("QPushButton {background-color: red;}");
Q_EMIT stop_transceiver ();
// if (is_tci_) QThread::msleep (200);
Q_EMIT stop_transceiver ();
for (auto const& connection: rig_connections_)
{
disconnect (connection);