Windows - Added input provider

Debugger - Fixed data model list display
This commit is contained in:
Robert committed 2021-12-06 00:44:25 +01:00
1 parent d594ed7951
commit b801de1f30
25 files changed
+1941 -288

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ namespace Artemis.Core
/// <summary>
/// The base path for Artemis application data folder
/// </summary>
public static readonly string BaseFolder = Environment.GetFolderPath(OperatingSystem.IsWindows() ? Environment.SpecialFolder.ApplicationData : Environment.SpecialFolder.LocalApplicationData);
public static readonly string BaseFolder = Environment.GetFolderPath(OperatingSystem.IsWindows() ? Environment.SpecialFolder.CommonApplicationData : Environment.SpecialFolder.LocalApplicationData);
/// <summary>
/// The full path to the Artemis data folder
@@ -25,7 +25,11 @@ namespace Artemis.Core.Services
public void Dispose()
{
while (_inputProviders.Any())
RemoveInputProvider(_inputProviders.First());
{
InputProvider provider = _inputProviders.First();
RemoveInputProvider(provider);
provider.Dispose();
}
}
#endregion