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.GUI/Forms/FrmToolWindow.cs')
-rw-r--r--UVtools.GUI/Forms/FrmToolWindow.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/UVtools.GUI/Forms/FrmToolWindow.cs b/UVtools.GUI/Forms/FrmToolWindow.cs
index 823c375..8cc5617 100644
--- a/UVtools.GUI/Forms/FrmToolWindow.cs
+++ b/UVtools.GUI/Forms/FrmToolWindow.cs
@@ -184,6 +184,11 @@ namespace UVtools.GUI.Forms
btnOk.Enabled = content.ButtonOkEnabled;
//content.AutoSize = true;
+ if (string.IsNullOrEmpty(content.ButtonOkText))
+ {
+ btnOk.Visible = false;
+ }
+
if (!content.CanROI)
{
pnROI.Visible = false;