From f2908e251c252056e8cc10d91be4758b0dcab0fa Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 6 Jan 2023 18:16:50 +0100 Subject: [PATCH] [skip ci] fix typos --- src/App/Application.cpp | 2 +- src/Mod/Path/Path/Op/Gui/Slot.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/App/Application.cpp b/src/App/Application.cpp index c0c7733cb5..f65d14f111 100644 --- a/src/App/Application.cpp +++ b/src/App/Application.cpp @@ -347,7 +347,7 @@ void Application::setupPythonTypes() void Application::setupPythonException(PyObject* module) { - // Define cusom Python exception types + // Define custom Python exception types // Base::PyExc_FC_GeneralError = PyErr_NewException("Base.FreeCADError", PyExc_RuntimeError, nullptr); Py_INCREF(Base::PyExc_FC_GeneralError); diff --git a/src/Mod/Path/Path/Op/Gui/Slot.py b/src/Mod/Path/Path/Op/Gui/Slot.py index b1c56be72f..c644628c11 100644 --- a/src/Mod/Path/Path/Op/Gui/Slot.py +++ b/src/Mod/Path/Path/Op/Gui/Slot.py @@ -166,7 +166,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage): # Save value, then reset choices n1 = sublist[0] # s1 = getattr(base.Shape, n1) - # Show Reference1 and cusomize options within + # Show Reference1 and customize options within self.form.geo1Reference.show() self.form.geo1Reference_label.show() self.form.geo1Reference_label.setText("Reference: {}".format(n1)) @@ -183,14 +183,14 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage): n2 = sublist[1] # s1 = getattr(base.Shape, n1) # s2 = getattr(base.Shape, n2) - # Show Reference1 and cusomize options within + # Show Reference1 and customize options within self.form.geo1Reference.show() self.form.geo1Reference_label.show() self.form.geo1Reference_label.setText( "Start Reference: {}".format(n1) ) self.customizeReference_1(n1) - # Show Reference2 and cusomize options within + # Show Reference2 and customize options within self.form.geo2Reference.show() self.form.geo2Reference_label.show() self.form.geo2Reference_label.setText(