mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
3a34b5b021
commit
0f693f1c48
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user