﻿using System.Windows;

namespace OpenSage.DataViewer
{
    public partial class App : Application
    {
        
    }
}

﻿using System.Windows;
using System.Globalization;
using System.Threading;

namespace OpenSage.DataViewer
{
    public partial class App : Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
            CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture;

            base.OnStartup(e);
        }
    }
}

Set thread culture to InvariantCulture on startup
Set thread culture to InvariantCulture on startup

Fixes the data viewer in locales which use the decimal comma.
