Re: Beta 3 - "save changes" pops up on unchanged queries

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Beta 3 - "save changes" pops up on unchanged queries
Дата
Msg-id 46C46448.3030900@postgresql.org
обсуждение исходный текст
Ответ на Beta 3 - "save changes" pops up on unchanged queries  ("William Trenker" <wtrenker@gmail.com>)
Список pgadmin-support
William Trenker wrote:
> Whenever I open a saved query and run it, the "Do you want to save
> changes?" dialog pops up even though I have made no changes to the
> query.  (This also happened with Beta 2.)
> 
> To reproduce:
> 
> 1.  Open the query window
> 2.  Enter the query "Select 1"
> 3.  Save the query
> 4.  Open the saved query
> 5.  Run it.
> 6.  Close the query window.  The "save changes" dialog pops up.

Thanks - it seems the styled text control fires a change event when it 
loses focus. Fortunately theres an event type member in the event object 
so I've just prevented loss of focus causing the changed flag to be set.

Regards, Dave


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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: pgAdmin III v1.8.0 Beta 3 released
Следующее
От: Guy Rouillier
Дата:
Сообщение: No indication of activity during count