Small tweaks
This commit is contained in:
@@ -96,7 +96,9 @@ namespace Torch.Managers
|
||||
|
||||
public void LoadPlugins()
|
||||
{
|
||||
DownloadPluginUpdates();
|
||||
if (Torch.Config.ShouldUpdatePlugins)
|
||||
DownloadPluginUpdates();
|
||||
|
||||
_log.Info("Loading plugins...");
|
||||
var pluginItems = Directory.EnumerateFiles(PluginDir, "*.zip").Union(Directory.EnumerateDirectories(PluginDir));
|
||||
foreach (var item in pluginItems)
|
||||
|
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
@@ -12,7 +13,7 @@ namespace Torch
|
||||
/// <summary>
|
||||
/// Provides a method to notify an observer of changes to an object's properties.
|
||||
/// </summary>
|
||||
public class ViewModel : INotifyPropertyChanged
|
||||
public abstract class ViewModel : INotifyPropertyChanged
|
||||
{
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
|
Reference in New Issue
Block a user