mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 06:49:19 +02:00
(uart, driveruipanels) change uart port selection widget from listbox to combo
This commit is contained in:
@@ -620,7 +620,7 @@ debug_panel::render() {
|
||||
for (int i=0; i < ports_num; i++) {
|
||||
avlports[i] = (char *) Application.uart_status.available_ports[i].c_str();
|
||||
}
|
||||
ImGui::ListBox("Port", &Application.uart_status.selected_port_index, avlports, ports_num);
|
||||
ImGui::Combo("Port", &Application.uart_status.selected_port_index, avlports, ports_num);
|
||||
}
|
||||
ImGui::Checkbox("Enabled", &Application.uart_status.enabled);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user