Auto-generate configuration dialog, fix logger names, prepare for async initialization
This commit is contained in:
@@ -11,9 +11,6 @@ namespace Torch.Server.Views.Converters
|
||||
public object Convert(object value, Type targetType, object parameter,
|
||||
System.Globalization.CultureInfo culture)
|
||||
{
|
||||
if (targetType != typeof(bool))
|
||||
throw new InvalidOperationException("The target must be a boolean");
|
||||
|
||||
return !(bool)value;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user