[skip ci] fix typos

This commit is contained in:
wmayer
2023-01-06 18:16:50 +01:00
parent e4aa389cc4
commit f2908e251c
2 changed files with 4 additions and 4 deletions

View File

@@ -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);

View File

@@ -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(