diff options
-rw-r--r-- | cui/source/options/treeopt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 845e7651ad68..b9d79d0d579a 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -795,7 +795,7 @@ void OfaTreeOptionsDialog::ActivateLastSelection() std::unique_ptr<weld::TreeIter> xTemp = xTreeLB->make_iterator(); bool bTemp = xTreeLB->get_iter_first(*xTemp); - while (!bTemp) + while (bTemp) { // restore only selection of a leaf if (xTreeLB->get_iter_depth(*xTemp) && xTreeLB->get_id(*xTemp).toInt64()) |