Zdenek Kotala wrote:
> Problem is with cbSSL. This combo box is empty and constructor of
> dlgServer try to setup selection on last used value - zero for first
> time -, but there is no content of list. Newer version of gtk probably
> are able to handle this situation but version used by s10 tries to touch
> into empty list.
Yeah, I found that right before I left the office - just logged in again
to work-up a fix.
> My question is why this dialog is not filed into the constructor like
> cbDatabase?
I guess you mean the combo, not dialog. short answer, I'm not sure.
That's not so much the problem though - it seems that trying to select
any list item when there aren't any is causing a crash. Having commented
out cbSSL.SetSelection(), I just find it crashes in the same way in
another dialogue.
I'm just working up what I hope will be a viable fix to the control
itself. I'll forward a patch once I'm happy.
Thanks, Dave.