Re: Cross-coupling comboboxes
Daniel Boles via gtkmm-list <[email protected]>
| Newsgroups | gmane.comp.gnome.gtkmm |
|---|---|
| Message-ID | <CAKChMKP2poUDuxcoZksD8uVH2o4iMNYW_GcL1vDrxUtBqq6MBw@mail.gmail.com> |
> What appears to happen, which I wasn't expecting, is the m_refTreeModel->clear(); call invokes the combobox signal_changed handler for every row? yeah, gtk_combo_box_model_row_deleted() does that if the reference to the previous active_row is now invalid, and i presume sets the active model to the nearest still-valid one, and so on, etc. another way around this might be to block the signal while you clear the model. _______________________________________________ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list