Defer sort seed checks until adjust-order startup
This commit is contained in:
11
App.xaml.cs
11
App.xaml.cs
@@ -82,7 +82,10 @@ namespace DrillTools
|
||||
{
|
||||
try
|
||||
{
|
||||
var viewModel = new MainWindowViewModel();
|
||||
var viewModel = new MainWindowViewModel
|
||||
{
|
||||
ShouldCheckSortFileOnLoad = false
|
||||
};
|
||||
|
||||
string content = CommandTypeFileReader.ReadAllText(filePath);
|
||||
viewModel.OriginalFilePath = filePath;
|
||||
@@ -127,7 +130,8 @@ namespace DrillTools
|
||||
var viewModel = new MainWindowViewModel
|
||||
{
|
||||
IsStartupDrillTapeFile = true,
|
||||
OriginalFilePath = filePath
|
||||
OriginalFilePath = filePath,
|
||||
ShouldCheckSortFileOnLoad = false
|
||||
};
|
||||
|
||||
string content = CommandTypeFileReader.ReadAllText(filePath);
|
||||
@@ -147,7 +151,8 @@ namespace DrillTools
|
||||
var viewModel = new MainWindowViewModel
|
||||
{
|
||||
IsStartupDrillTapeFile = true,
|
||||
OriginalFilePath = filePath
|
||||
OriginalFilePath = filePath,
|
||||
ShouldCheckSortFileOnLoad = false
|
||||
};
|
||||
|
||||
string content = CommandTypeFileReader.ReadAllText(filePath);
|
||||
|
||||
Reference in New Issue
Block a user