mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
fix for combobox bounce
This commit is contained in:
@@ -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());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user