oops should have checked for this

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@666 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-03-18 09:17:55 +00:00
parent 3a34b5b021
commit 0f693f1c48

View File

@ -134,6 +134,10 @@ xaccSetComboCellValue (ComboCell *cell, const char * str)
SET (&(cell->cell), str);
box = (PopBox *) (cell->cell.gui_private);
/* we just might get called before the gui is initialized.
* If so, then be sure to bail out now. */
if (!box) return;
if (str) {
if (0x0 != str[0]) {
XmString choosen;