View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002091 | Far Manager | Plugins API.VMenu | public | 2012-04-28 21:53 | 2012-05-17 10:22 |
Reporter | Maximus | Assigned To | 2useven10 | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 3.0 | ||||
Fixed in Version | 3.0 | ||||
Summary | 0002091: В меню не работает кнопка Home | ||||
Description | Например в меню AltF11 при нажатии Home ничего не происходит. Смысл в том, что первый item (дата) недоступен для выделения, а направление поиска доступного - выбирается не в ту сторону. | ||||
Tags | No tags attached. | ||||
Build | 2651 | ||||
|
VMenu120428.diff (1,307 bytes)
Index: vmenu.cpp =================================================================== --- vmenu.cpp (revision 7976) +++ vmenu.cpp (working copy) @@ -287,11 +287,11 @@ } // ��������� ������ � ������ ���� -int VMenu::SetSelectPos(FarListPos *ListPos) +int VMenu::SetSelectPos(FarListPos *ListPos, int Direct) { CriticalSectionLock Lock(CS); - int Ret = SetSelectPos(ListPos->SelectPos,ListPos->SelectPos > SelectPos? 1 : -1); + int Ret = SetSelectPos(ListPos->SelectPos,Direct ? Direct : ListPos->SelectPos > SelectPos? 1 : -1); if (Ret >= 0) { @@ -1276,7 +1276,7 @@ case KEY_RCTRLPGUP: case KEY_RCTRLNUMPAD9: { FarListPos pos={sizeof(FarListPos),0,-1}; - SetSelectPos(&pos); + SetSelectPos(&pos, 1); ShowMenu(true); break; } Index: vmenu.hpp =================================================================== --- vmenu.hpp (revision 7976) +++ vmenu.hpp (working copy) @@ -342,7 +342,7 @@ int GetSelectPos() { return SelectPos; } int GetSelectPos(struct FarListPos *ListPos); - int SetSelectPos(struct FarListPos *ListPos); + int SetSelectPos(struct FarListPos *ListPos, int Direct=0); int SetSelectPos(int Pos, int Direct); int GetCheck(int Position=-1); void SetCheck(int Check, int Position=-1); |
|
Я раньше заметил :) 0002083 |
|
2651 |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-04-28 21:53 | Maximus | New Issue | |
2012-04-28 21:53 | Maximus | File Added: VMenu120428.diff | |
2012-04-29 05:44 | DAtaMan | Note Added: 0009076 | |
2012-04-29 08:20 | 2useven10 | Relationship added | has duplicate 0002083 |
2012-04-29 08:31 | 2useven10 | Note Added: 0009077 | |
2012-04-29 08:31 | 2useven10 | Assigned To | => 2useven10 |
2012-04-29 08:31 | 2useven10 | Status | new => feedback |
2012-05-17 10:22 | 2useven10 | Build | => 2651 |
2012-05-17 10:22 | 2useven10 | Status | feedback => closed |
2012-05-17 10:22 | 2useven10 | Resolution | open => fixed |
2012-05-17 10:22 | 2useven10 | Fixed in Version | => 3.0 |