Skip to content

Commit 68d992c

Browse files
authored
Update viewerexample.md
1 parent 15611b9 commit 68d992c

File tree

1 file changed

+2
-2
lines changed
  • mevislab.github.io/content/tutorials/basicmechanisms/macromodules

1 file changed

+2
-2
lines changed

mevislab.github.io/content/tutorials/basicmechanisms/macromodules/viewerexample.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ Commands {
195195

196196
In the above example, we react on changes of the field *startSlice* of the module `View2D`. Whenever the field value (currently displayed slice) changes, the Python function *printCurrentSliceNumber* is executed.
197197

198-
In your Python file `Filter.py` you can now add the following:
198+
In your Python file `MyViewerApplication.py` you can now add the following:
199199

200-
{{< highlight filename="Filter.py" >}}
200+
{{< highlight filename="MyViewerApplication.py" >}}
201201
```Python
202202
def printCurrentSliceNumber(field):
203203
MLAB.log(field.value)

0 commit comments

Comments
 (0)