|
[Hugin-cvs] /hgroot/hugin/hugin: Fixes bug in select all images
From: <hugin-cvs@li...> - 2012-12-13 17:48
|
branch: details: http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/hgroot/hugin/hugin/rev/a34b56f428d1 changeset: 6048:a34b56f428d1 user: tmodes date: Thu Dec 13 18:48:28 2012 +0100 description: Fixes bug in select all images The images of the last lens/stack where not selected, only the lens/stack diffstat: src/hugin1/hugin/treelistctrl.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (21 lines): diff -r 595fa410b55a -r a34b56f428d1 src/hugin1/hugin/treelistctrl.cpp --- a/src/hugin1/hugin/treelistctrl.cpp Thu Dec 13 18:47:29 2012 +0100 +++ b/src/hugin1/hugin/treelistctrl.cpp Thu Dec 13 18:48:28 2012 +0100 @@ -2976,8 +2976,6 @@ crt_item->SetHilight (true); RefreshLine(crt_item); - if (crt_item==last_item) return true; - if (crt_item->HasChildren() && crt_item->IsExpanded()) { wxArrayTreeListItems& children = crt_item->GetChildren(); size_t count = children.Count(); @@ -2986,6 +2984,8 @@ } } + if (crt_item==last_item) return true; + return false; } |
| Thread | Author | Date |
|---|---|---|
| [Hugin-cvs] /hgroot/hugin/hugin: Fixes bug in select all images | <hugin-cvs@li...> |