fix for combobox bounce

This commit is contained in:
2026-02-14 14:31:30 +01:00
parent c6cdc78843
commit c2918e79c3
+1 -1
View File
@@ -762,7 +762,7 @@ void Simulator_base::setup_combobox(QWidget *item, size_t index)
if (combobox == nullptr) if (combobox == nullptr)
return; return;
connect(combobox, &QComboBox::currentIndexChanged, this, [=, this] { connect(combobox, &QComboBox::activated, this, [=, this] {
m_web_socket->send_event(Web_socket_wrapper::Event::selected, index, combobox->currentText()); m_web_socket->send_event(Web_socket_wrapper::Event::selected, index, combobox->currentText());
}); });
} }