Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pyMKcam
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
pyMKcam
Commits
2f5abc53
Commit
2f5abc53
authored
Apr 15, 2013
by
Lars Kruse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix minor GTK warnings or typos
parent
7d8bd77b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
ParameterGroupManager.py
pycam/Plugins/ParameterGroupManager.py
+1
-1
ToolpathProcessors.py
pycam/Plugins/ToolpathProcessors.py
+2
-1
__init__.py
pycam/Plugins/__init__.py
+2
-1
No files found.
pycam/Plugins/ParameterGroupManager.py
View file @
2f5abc53
...
...
@@ -169,7 +169,7 @@ class ParameterGroupManager(pycam.Plugins.PluginBase):
changed_set_event
=
group
[
"changed_set_event"
]
if
changed_set_event
:
self
.
core
.
register_event
(
changed_set_event
,
self
.
_update_widgets_visibility
)
self
.
_update_widgets_visibility
,
group_name
)
del
self
.
_groups
[
group_name
]
def
unregister_parameter_set
(
self
,
group_name
,
set_name
):
...
...
pycam/Plugins/ToolpathProcessors.py
View file @
2f5abc53
...
...
@@ -47,6 +47,7 @@ class ToolpathProcessors(pycam.Plugins.ListPluginBase):
# we need to clear the whole path down to the "real" item
parent
=
notebook
while
not
child
in
[
entry
[
0
]
for
entry
in
self
.
_pref_items
]:
if
child
.
get_parent
():
parent
.
remove
(
child
)
parent
=
child
try
:
...
...
pycam/Plugins/__init__.py
View file @
2f5abc53
...
...
@@ -446,6 +446,7 @@ class ListPluginBase(PluginBase, list):
treemodel
.
append
((
uuid
,
))
# reorder the treemodel according to the current list
sorted_indices
=
[
current_uuids
.
index
(
row
[
0
])
for
row
in
treemodel
]
if
sorted_indices
:
treemodel
.
reorder
(
sorted_indices
)
self
.
core
.
emit_event
(
"tool-list-changed"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment