Browse Source

do not throw exception on invalid conversion

pull/18/head
Siegfried Pammer 14 years ago
parent
commit
070efb3e2f
  1. 2
      src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/StorageLocationConverter.cs

2
src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/StorageLocationConverter.cs

@ -33,7 +33,7 @@ namespace ICSharpCode.SharpDevelop.Gui.OptionPanels
{ {
if ((bool)value) if ((bool)value)
return parameter; return parameter;
throw new NotSupportedException("this conversion is not supported!"); return Binding.DoNothing;
} }
} }
} }

Loading…
Cancel
Save