Skip to content

Commit

Permalink
Version 2.0.0.78. Fix for Issue #19 RightClick does not select files.
Browse files Browse the repository at this point in the history
  • Loading branch information
karbazol committed Feb 25, 2017
1 parent 4d929ec commit bd36114
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dragndrop/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ from parts import *
SetOptionDefault('COMPANY_NAME', 'Eugene Leskinen')
SetOptionDefault('PRODUCT_NAME', 'Drag & drop plug-in for FAR manage')
SetOptionDefault('LEGAL_COPYRIGHT', '2005-2016 Eugene Leskinen')
SetOptionDefault('PRODUCT_VERSION_STRING', '2.0.0.77')
SetOptionDefault('PRODUCT_VERSION_STRING', '2.0.0.78')

# Enable smart logging
SetOptionDefault('LOGGER', '$TEXT_LOGGER')
Expand Down
8 changes: 7 additions & 1 deletion dragndrop/plugin/src/inpprcsr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,13 @@ bool InputProcessor::checkMouseAndShowPopupMenu(INPUT_RECORD& record)
_left = 0;
}

if (record.Event.MouseEvent.dwButtonState & RIGHTMOST_BUTTON_PRESSED)
// If we are not going to show the pop-up menu don't change dwButtonState.
if (!Config::instance()->showMenu())
{
return false;
}

if (record.Event.MouseEvent.dwButtonState & RIGHTMOST_BUTTON_PRESSED)
{
_right++;
if (!_left)
Expand Down

0 comments on commit bd36114

Please sign in to comment.