diff options
Diffstat (limited to 'UVtools.GUI/FrmMain.cs')
-rw-r--r-- | UVtools.GUI/FrmMain.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/UVtools.GUI/FrmMain.cs b/UVtools.GUI/FrmMain.cs index 2a676c2..7da095f 100644 --- a/UVtools.GUI/FrmMain.cs +++ b/UVtools.GUI/FrmMain.cs @@ -1059,6 +1059,15 @@ namespace UVtools.GUI return; } + if (ReferenceEquals(sender, menuHelpBenchmark)) + { + using (var frmBenchmark = new FrmBenchmark()) + { + frmBenchmark.ShowDialog(); + } + return; + } + if (ReferenceEquals(sender, menuHelpInstallPrinters)) { var PEFolder = @@ -2424,7 +2433,7 @@ namespace UVtools.GUI } tsPropertiesLabelCount.Text = $"Properties: {flvProperties.GetItemCount()}"; - tsPropertiesLabelGroups.Text = $"Groups: {flvProperties.OLVGroups.Count}"; + tsPropertiesLabelGroups.Text = $"Groups: {flvProperties.OLVGroups?.Count ?? 0}"; if (!ReferenceEquals(SlicerFile.GCode, null)) { |