Re: Bug in dlgCast
От | Andreas Pflug |
---|---|
Тема | Re: Bug in dlgCast |
Дата | |
Msg-id | 4163B8FA.1080602@pse-consulting.de обсуждение исходный текст |
Ответ на | Bug in dlgCast (Alexander Borkowski <alexander.borkowski@abri.une.edu.au>) |
Ответы |
Re: Bug in dlgCast
|
Список | pgadmin-hackers |
Alexander Borkowski wrote: > Dear all, > > I just encountered a bug in 1.2.0 Beta 2 (Win XP). > > When selecting the source or target type in the "New Cast" dialog, the > application crashes. What IMHO happens is that the call to > txtName->SetValue(wxEmptyString) in dlgCast::CheckChange() > (src/ui/dlgCast.cpp line 121) generates a new wxEVT_COMMAND_TEXT_UPDATED > event. This event triggers a call to dlgProperty::OnChange() which in > turn calls the virtual dlgCast::CheckChange() and so on ... until > pgAdmin crashes. Your analysis is right. The problem is that txtName is handled in a generalized way in dlgProperty, which handles user inputs, but in the case of dlgCast it's a calculated non-editable name. Fix: renamed to txtCastname. Thanks for reporting! Regards, Andreas
В списке pgadmin-hackers по дате отправления: