Skip to content

Commit

Permalink
Gui: fix TreeParams documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder committed Oct 28, 2023
1 parent 4b62826 commit 471e6ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Gui/TreeParams.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace Gui {
*
* Once modified, you can regenerate the header and the source file,
* @code
* python3 -m cogapp -r Gui/TreeParams.h Tree.cpp
* python3 -m cogapp -r Gui/TreeParams.h Gui/TreeParams.cpp
* @endcode
*
* You can add a new parameter by adding lines in Gui/TreeParams.py. Available
Expand All @@ -58,7 +58,7 @@ namespace Gui {
* @endcode
*
* If there is special handling on parameter change, pass in on_change=True.
* And you need to provide a function implementation in Tree.cpp with
* And you need to provide a function implementation in Gui/TreeParams.cpp with
* the following signature.
* @code
* void TreeParams:on<parameter_name>Changed()
Expand Down
2 changes: 1 addition & 1 deletion src/Gui/TreeParams.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
ClassName = 'TreeParams'
ParamPath = 'User parameter:BaseApp/Preferences/TreeView'
ClassDoc = 'Convenient class to obtain tree view related parameters'
SourceFile = 'Tree.cpp'


Params = [
ParamBool('SyncSelection', True, on_change=True),
Expand Down

0 comments on commit 471e6ac

Please sign in to comment.