Showing the changes to interface/src/scripting/SelectionScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -283,7 +283,7 @@ bool SelectionScriptingInterface::removeListFromMap(const QString& listName) { · 282 unmodified lines | ||
| 283 | 283 | bool removed = false; |
| 284 | 284 | { |
| 285 | 285 | QWriteLocker lock(&_selectionListsLock); |
| 286 | − bool removed = _selectedItemsListMap.remove(listName); | |
| 286 | + removed = _selectedItemsListMap.remove(listName); | |
| 287 | 287 | } |
| 288 | 288 | if (removed) { |
| 289 | 289 | onSelectedItemsListChanged(listName); |