Re: Cross-coupling comboboxes
- From: Daniel Boles <dboles src gmail com>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Cross-coupling comboboxes
- Date: Fri, 7 Jun 2019 22:37:51 +0100
> 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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]