Browse Source

fixed compiler warning

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3364 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Markus Palme 18 years ago
parent
commit
acaab0ff01
  1. 2
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/PropertyGrid/Editors/EventEditor.xaml.cs

2
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/PropertyGrid/Editors/EventEditor.xaml.cs

@ -54,7 +54,7 @@ namespace ICSharpCode.WpfDesign.Designer.PropertyGrid.Editors
protected override void OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs e) protected override void OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
{ {
if (PropertyNode != null && PropertyNode.Value != Text) { if (PropertyNode != null && (string)PropertyNode.Value != Text) {
if (string.IsNullOrEmpty(Text)) { if (string.IsNullOrEmpty(Text)) {
PropertyNode.Reset(); PropertyNode.Reset();
} }

Loading…
Cancel
Save