- 
    Bug 
- 
    Resolution: Out of scope
- 
    P3: Somewhat important 
- 
    4.3.2
- 
    None
QComboBox doesn't remember text if it's been set before the first addItem().
This can be seen in the following example :
#include <QComboBox> 
#include <QApplication> 
#include <QLineEdit> 
int main(int argc, char **argv) { 
    QApplication app(argc, argv); 
    QComboBox box; 
    box.setEditable(true); 
    box.setEditText ( "My custom choice 1 vanishes" );  
    box.addItem("Standard choice 1"); 
    box.addItem("Standard choice 2"); 
//    box.setEditText ( "My custom choice 2 this stays" );  
    box.show(); 
    return app.exec(); 
}