Project

General

Profile

Bug #165 ยป 0001-Let-WComboBox-redraw-its-contents-when-setting-a-new.patch

Anonymous, 10/31/2009 02:55 AM

View differences:

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)
    (1-1/1)