Solved QCombobox with clearEditText ()
-
Hi,
I have editable combo boxes and I wanted to leave the edit clear when the combo box loads.
Material_Combo->setEditable (true); Material_Combo->clearEditText ();
Why does clearEditText() do nothing? (The combo box still lists the first item in the edit.)
Thank you. -
I tried and this worked for me. Is it possible you're calling clearEditText before your items have been added?
-
@elveatles
Thank you. You were right.