Skip to content

Commit 203f526

Browse files
authored
Merge pull request #101 from dpslwk/docs_fix_custom_ux
2 parents b146c24 + 55009dc commit 203f526

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs_src/source/custom_ux_hacking.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ In the following python example the **FLOOD** button is rename to **FOO** and th
1717
To try out the following yourself, save the python below to a file called ``custom_probebasic.py`` under your machine config directory (``~/linuxcnc/configs/{my_machine}/custom_probebasic.py``).
1818

1919
.. code:: python
20+
2021
from probe_basic.probe_basic import ProbeBasic
2122
2223
class CustomProbeBasic(ProbeBasic):
@@ -43,6 +44,7 @@ To try out the following yourself, save the python below to a file called ``cust
4344
# rename the Mist button
4445
self.mist_button.setText("Bar")
4546
47+
4648
Then edit the ``~/linuxcnc/configs/{my_machine}/custom_config.yml`` file and add the line ``provider: custom_probebasic:CustomProbeBasic`` just under ``mainwindow:``
4749

4850
**Before:**

0 commit comments

Comments
 (0)