Browse Source

Fix build for Mirador - WPF Designer branch

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/wpfdesigner@5833 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
pull/1/head
Kumar Devvrat 16 years ago
parent
commit
42e3c962fc
  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
// changes the primary selection was changed to an already-selected item, // changes the primary selection was changed to an already-selected item,
// then we keep the current selection. // then we keep the current selection.
// otherwise, we replace it // 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 // keep selectionType = 0 -> don't change the selection
} else { } else {
selectionType = SelectionTypes.Replace; selectionType = SelectionTypes.Replace;

Loading…
Cancel
Save