Bug #165 ยป 0001-Let-WComboBox-redraw-its-contents-when-setting-a-new.patch
| src/Wt/WComboBox.C | ||
|---|---|---|
|
(model_->modelReset().connect(SLOT(this, WComboBox::itemsChanged)));
|
||
|
modelConnections_.push_back
|
||
|
(model_->layoutChanged().connect(SLOT(this, WComboBox::itemsChanged)));
|
||
|
/* Redraw contents of the combo box to match the contents of the new model.
|
||
|
*/
|
||
|
refresh();
|
||
|
}
|
||
|
void WComboBox::setModelColumn(int index)
|
||