From 5f1092a6575db841e65d79d90f1d50c49fe05f02 Mon Sep 17 00:00:00 2001 From: Jonathan Neuhauser Date: Tue, 18 May 2021 19:35:54 +0200 Subject: [PATCH] show error message when launching gcodetools on options tab --- gcodetools.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gcodetools.py b/gcodetools.py index 4c6a9111..4403c3d3 100755 --- a/gcodetools.py +++ b/gcodetools.py @@ -5265,7 +5265,9 @@ G01 Z1 (going to cutting z)\n""", # TODO Launch browser on help tab ################################################################################ def tab_help(self): - self.error("Tutorials, manuals and support can be found at\n" + self.error("Switch to another tab to run the extensions.\n" + "No changes are made if the preferences or help tabs are active.\n\n" + "Tutorials, manuals and support can be found at\n" " English support forum:\n" " http://www.cnc-club.ru/gcodetools\n" "and Russian support forum:\n" @@ -5278,6 +5280,10 @@ G01 Z1 (going to cutting z)\n""", def tab_preferences(self): return self.tab_help() + def tab_options(self): + return self.tab_help() + + ################################################################################ # Lathe ################################################################################ -- GitLab