QComboBox not showing new values
Hello, I have around 4 combo boxes on a dialog, each of the combo box should present a data with reference to the value selected on the previous combo box and each combo box has a custom QAbastractTableModel as model, that searches the data from a SQLite database.
While I can successfully find the new data regarding the boxes, they only show on the combo box after I clicked on it and displayed it's list, even if I emit dataChanged() on each model.
What I wanted to know is, how can I fix this, so I don't need to clic and reclic on the QComboBox, just to update the other boxes.
To do something like this, I capture "currentIndexChanged(int index)":http://qt-project.org/doc/qt-5.0/qtwidgets/qcombobox.html#currentIndex-prop and then in a function change other "QComboBox":http://qt-project.org/doc/qt-5.0/qtwidgets/qcombobox.html
Hope it's util.
Hello, that's exactly what I'm doing, but when the other combo box is updated, it only shows the new items when I click at the combo box