Swati
Swati

Reputation: 2918

NSCombobox selected state is not removed

I am using NSCombobox to render my elements saved in an array as drop down.

On a button click my array gets updated and the number of elements drops to 2 from 1 but selected one does not change.

Detail :

Can someone suggest me how to achieve this?

Upvotes: 0

Views: 94

Answers (1)

Willeke
Willeke

Reputation: 15589

Set stringValue of the combo box to SWATI.

Upvotes: 1

Related Questions