mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
The context menu of the "Log File" window has been removed. Clicking on the right button opens the row preview.
Убрано контекстное меню с командами. Нужно использовать горяции клавиши для вызова команд. Правая кнопка вызывает окно просмотра строки лога.
This commit is contained in:
parent
b5ec421085
commit
24fcdc4e0e
3 changed files with 17 additions and 7 deletions
|
|
@ -4803,9 +4803,18 @@ void frmStatus::OnMoveMouseLog(wxMouseEvent& event)
|
|||
void frmStatus::OnRightClickLogGrid(wxListEvent& event)
|
||||
{
|
||||
delayHitLog->Stop();
|
||||
wxMenu* logListPopupMenu;
|
||||
logListPopupMenu = nav->GetPopupMenu();
|
||||
logList->PopupMenu(logListPopupMenu, event.GetPoint());
|
||||
lastmouse = wxGetMousePosition();
|
||||
wxTimerEvent tm;
|
||||
//logList->GetItem();
|
||||
//int flags = wxLIST_HITTEST_ONITEMLABEL;
|
||||
//long item=logList->HitTest(mp,flags);
|
||||
long item=event.GetIndex();
|
||||
lastlogitem=item;
|
||||
lastlogitemShow=-1;
|
||||
OnTimerHintLog(tm);
|
||||
// wxMenu* logListPopupMenu;
|
||||
// logListPopupMenu = nav->GetPopupMenu();
|
||||
// logList->PopupMenu(logListPopupMenu, event.GetPoint());
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue