mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 22:04:55 +02:00
parent
aaa743ea3f
commit
f0593f1a81
@ -121,6 +121,13 @@ INT_PTR CALLBACK VerticalFileSwitcher::run_dlgProc(UINT message, WPARAM wParam,
|
||||
{
|
||||
// Switch to the right document
|
||||
LPNMITEMACTIVATE lpnmitem = (LPNMITEMACTIVATE) lParam;
|
||||
|
||||
if (lpnmitem->hdr.hwndFrom != _fileListView.getHSelf())
|
||||
{
|
||||
// Do nothing
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
int nbItem = ListView_GetItemCount(_fileListView.getHSelf());
|
||||
|
||||
if (nbSelectedFiles() == 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user