Restrict this command to Windows, because it doesn't work on Linux when rig is "None".

This commit is contained in:
Uwe Risse 2023-01-09 10:35:51 +01:00
parent 7f9a58483c
commit 1ec95a48f4

View File

@ -804,7 +804,9 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
config_label.hide ();
}
statusUpdate ();
#if defined(Q_OS_WIN)
QTimer::singleShot (250, [=] {setRig (m_lastMonitoredFrequency);}); // This is needed for Hamradio Deluxe
#endif
});
m_multi_settings->create_menu_actions (this, ui->menuConfig);
m_configurations_button = m_rigErrorMessageBox.addButton (tr ("Configurations...")