summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2019-10-12 20:34:57 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2019-10-12 20:34:57 +0000
commit41d0fa335dd328b446db4e43ff5820726bcb3a52 (patch)
tree1c5f7551d23258285959ad4f3dfb8a65bfdaf9c1 /src/ui/dialog
parentAdd icons to show help in set defauls LPE parameters (diff)
downloadinkscape-41d0fa335dd328b446db4e43ff5820726bcb3a52.tar.gz
inkscape-41d0fa335dd328b446db4e43ff5820726bcb3a52.zip
Fix misleading indentation
Diffstat (limited to 'src/ui/dialog')
-rw-r--r--src/ui/dialog/objects.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/dialog/objects.cpp b/src/ui/dialog/objects.cpp
index 148500506..e0af43d52 100644
--- a/src/ui/dialog/objects.cpp
+++ b/src/ui/dialog/objects.cpp
@@ -423,12 +423,13 @@ void ObjectsPanel::_updateObject( SPObject *obj, bool recurse ) {
}
// Last attempt, try the position before the old one
- if (_tree_cache_iter != _tree_cache.begin())
+ if (_tree_cache_iter != _tree_cache.begin()) {
iter_prev = std::prev(_tree_cache_iter, 1);
if (_checkForUpdated(iter_prev->second, obj)) {
_tree_cache_iter = iter_prev;
break;
}
+ }
}
/* Still no success? Then we need to take the long way home.