IDE: designer: right click only selects if Shift=[]

git-svn-id: trunk@13345 -
This commit is contained in:
mattias 2007-12-15 17:42:00 +00:00
parent 09d6e02546
commit 32c3be189a

View File

@ -1620,7 +1620,8 @@ Begin
// right click -> popup menu
DisableRubberBand;
if EnvironmentOptions.RightClickSelects
and (not ControlSelection.IsSelected(MouseDownComponent)) then
and (not ControlSelection.IsSelected(MouseDownComponent))
and (Shift=[]) then
PointSelect;
PopupMenuComponentEditor:=GetComponentEditorForSelection;
BuildPopupMenu;