Added crash guard for making alternates (to get editable comboboxes).
This commit is contained in:
parent
5ac0af8d79
commit
a302590ee0
|
@ -101,6 +101,10 @@ func (s *sysData) make(initText string, window *sysData) error {
|
|||
println(s.ctype, "not implemented")
|
||||
return nil
|
||||
}
|
||||
if s.alternate && ct.makeAlt == nil { // not yet implemented
|
||||
println(s.ctype, "alt not implemented")
|
||||
return nil
|
||||
}
|
||||
ret := make(chan *gtkWidget)
|
||||
defer close(ret)
|
||||
uitask <- func() {
|
||||
|
|
Loading…
Reference in New Issue