From c2918e79c3ff7d007aa8657479446306eebc8e5f Mon Sep 17 00:00:00 2001 From: Sander Speetjens Date: Wed, 16 Jul 2025 17:22:13 +0200 Subject: [PATCH] fix for combobox bounce --- client/simulator_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/simulator_base.cpp b/client/simulator_base.cpp index aac27c8..ee548e5 100644 --- a/client/simulator_base.cpp +++ b/client/simulator_base.cpp @@ -762,7 +762,7 @@ void Simulator_base::setup_combobox(QWidget *item, size_t index) if (combobox == nullptr) 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()); }); }