From 5abb2cbd8f201b8a8101a661f1dd9a68412d8674 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sun, 26 Oct 2025 08:27:48 +0100 Subject: refactor ui, fix autocomplete bug --- include/ui.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ui.hpp') diff --git a/include/ui.hpp b/include/ui.hpp index 92cb8f5..68b1aa4 100644 --- a/include/ui.hpp +++ b/include/ui.hpp @@ -106,7 +106,7 @@ namespace ImGui bool FormInvoiceFileSelector(char* text, char* buffer); void FormContactAutocomplete(contact* buffer, bool has_error); void FormInputTextWithErrorHint(const char* hint, char* buffer, size_t buf_size, bool has_error); - void FormCountryCombo(char* buffer, size_t buf_size); + void FormCountryCombo(char* buffer, size_t buf_size, bool activated_only = false); void FormContactTypeCombo(contact_type* type); void FormCostCenterCombo(char* costcenter_id); void FormProjectCombo(char* project_id); -- cgit v1.2.3-70-g09d2