cui/source/options/treeopt.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 42294bdf528934095d5314fe334324e708e9543c Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Oct 14 10:46:48 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Oct 14 12:50:47 2019 +0200 Resolves: tdf#128132 language page not opened Change-Id: I1936840b89963ddc74fa8d7509855fb566e62404 Reviewed-on: https://gerrit.libreoffice.org/80761 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> 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()) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits