Hello, Your example work and I not see what could give this crash. No model into the combobox ? Regards Guy
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f77decdc950 (LWP 29933)] Wt::Ext::ComboBox::count (this=0x0) at /home/guy/Docs/Dev/wt/src/wt/src/Wt/Ext/ComboBox.C:112 112 return model_->rowCount(); Current language: auto; currently c++ > > Perhaps you see a crash because currentIndex() may be -1: when the > user has added an entry by editing, this entry is not added to the > underlying model. When this entry is the currently selected entry, > currentIndex() will be -1, and currentText() will return the value. > > No I manage this case. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
