Re: Crash during displaying drop-down menu for

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: Crash during displaying drop-down menu for
Дата
Msg-id 434830C5.3050406@pse-consulting.de
обсуждение исходный текст
Ответ на Re: Crash during displaying drop-down menu for  (Tomasz Rybak <bogomips@post.pl>)
Список pgadmin-hackers
Tomasz Rybak wrote:
> I think I know what's causing this crash.
> However, I don't know where to fix it.

Things are quite easy after all.
That lengthy code in line 460ff is for some beautifying of "new xxx"
stuff in the context menu. If there's no object creatable, the "New
Object" menu will be disabled, and so newItem will receive 0 by design
(thus wxASSERT is wrong). In that case, most of the code can be skipped.

Fixed in svn, thanks for reporting.

Regards,
Andreas

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by andreas: r4523 - in trunk/pgadmin3: . src/include src/include/images src/main src/schema src/slony src/slony/include
Следующее
От: Tomasz Rybak
Дата:
Сообщение: Hint files installation patch