Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.WPF/MainWindow.axaml.cs')
-rw-r--r--UVtools.WPF/MainWindow.axaml.cs11
1 files changed, 8 insertions, 3 deletions
diff --git a/UVtools.WPF/MainWindow.axaml.cs b/UVtools.WPF/MainWindow.axaml.cs
index f755a47..69a8ec1 100644
--- a/UVtools.WPF/MainWindow.axaml.cs
+++ b/UVtools.WPF/MainWindow.axaml.cs
@@ -201,7 +201,7 @@ public partial class MainWindow : WindowEx
_firstTimeOnIssues = false;
if (ReferenceEquals(_selectedTabItem, TabIssues) && Settings.Issues.ComputeIssuesOnClickTab)
{
- OnClickDetectIssues().ConfigureAwait(false);
+ Dispatcher.UIThread.InvokeAsync(async () => await OnClickDetectIssues());
}
}
}
@@ -1173,6 +1173,11 @@ public partial class MainWindow : WindowEx
}
await new PrusaSlicerManagerWindow().ShowDialog(this);
}
+
+ public void MenuHelpDebugOpenExecutableDirectoryClicked()
+ {
+ SystemAware.StartProcess(App.ApplicationPath);
+ }
public void MenuHelpDebugThrowExceptionClicked()
{
@@ -1726,6 +1731,8 @@ public partial class MainWindow : WindowEx
UpdateLayerTrackerHighlightIssues();
};
+ TabGCode.IsVisible = HaveGCode;
+
if (SlicerFile.DecodeType == FileFormat.FileDecodeType.Full)
{
if (Settings.Issues.ComputeIssuesOnLoad)
@@ -1754,8 +1761,6 @@ public partial class MainWindow : WindowEx
}
}
- TabGCode.IsVisible = HaveGCode;
-
SlicerFile.PropertyChanged += SlicerFileOnPropertyChanged;
PopulateSuggestions();