Browse Source

Fix error in commit:5827

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5832 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
pull/1/head
Kumar Devvrat 16 years ago
parent
commit
5fe2988ee0
  1. 2
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Services/SelectionService.cs

2
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Services/SelectionService.cs

@ -87,7 +87,7 @@ namespace ICSharpCode.WpfDesign.Designer.Services @@ -87,7 +87,7 @@ namespace ICSharpCode.WpfDesign.Designer.Services
// changes the primary selection was changed to an already-selected item,
// then we keep the current selection.
// otherwise, we replace it
if (components.Count == 1 && IsComponentSelected(newPrimarySelection && prevSelectedItems.Length == 1)){
if (components.Count == 1 && IsComponentSelected(newPrimarySelection) && prevSelectedItems.Length == 1){
// keep selectionType = 0 -> don't change the selection
} else {
selectionType = SelectionTypes.Replace;

Loading…
Cancel
Save