| От | Vinicius Santos |
|---|---|
| Тема | "Clear window" in the SQL Editor |
| Дата | |
| Msg-id | 4CF42AB3.4020603@gmail.com обсуждение исходный текст |
| Ответы |
Re: "Clear window" in the SQL Editor
|
| Список | pgadmin-hackers |
Hello,
In the SQL editor window, when the focus is outside of any text box, the
button "clear window" does nothing.
I believe that confuse the user. In this case the button should clear
the SQL editor.
Do you agree?
I made this change.
void frmQuery::OnClear(wxCommandEvent& ev)
{
wxWindow *wnd=currentControl();
if (wnd == sqlQuery)
sqlQuery->ClearAll();
else if (wnd == msgResult)
msgResult->Clear();
else if (wnd == msgHistory)
msgHistory->Clear();
else if (wnd == scratchPad)
scratchPad->Clear();
+ else
+ sqlQuery->ClearAll();
}
Sorry my bad English. I am Brazilian.
The Google translator is helping me.
В списке pgadmin-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера