Showing the changes to interface/src/scripting/SelectionScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -110,6 +110,7 @@ bool SelectionScriptingInterface::enableListHighlight(const QString& listName, c · 109 unmodified lines | ||
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | if (!(*highlightStyle).isBoundToList()) { |
| 113 | + enableListToScene(listName); | |
| 113 | 114 | (*highlightStyle).setBoundToList(true); |
| 114 | 115 | } |
| 115 | 116 | |
| @@ -133,6 +134,7 @@ bool SelectionScriptingInterface::disableListHighlight(const QString& listName) · 17 unmodified lines | ||
| 133 | 134 | auto highlightStyle = _highlightStyleMap.find(listName); |
| 134 | 135 | if (highlightStyle != _highlightStyleMap.end()) { |
| 135 | 136 | if ((*highlightStyle).isBoundToList()) { |
| 137 | + disableListToScene(listName); | |
| 136 | 138 | } |
| 137 | 139 | |
| 138 | 140 | _highlightStyleMap.erase(highlightStyle); |
| @@ -476,4 +478,4 @@ QVariantMap SelectionHighlightStyle::toVariantMap() const { · 337 unmodified lines | ||
| 476 | 478 | properties["isOutlineSmooth"] = _style._isOutlineSmooth; |
| 477 | 479 | |
| 478 | 480 | return properties; |
| 479 | −} | |
| 481 | +} | |