summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/model
diff options
context:
space:
mode:
authorAndre Fischer <andre.f.fischer <Andre Fischer<andre.f.fischer@oracle.com>2010-07-23 11:55:55 +0200
committerAndre Fischer <andre.f.fischer <Andre Fischer<andre.f.fischer@oracle.com>2010-07-23 11:55:55 +0200
commit1abb6221443d4a14427eab4cbb0e96ee3966a019 (patch)
tree395acd1d8f6b9fceb00e959e8add6a88a367e499 /sd/source/ui/slidesorter/model
parentedc18425b8c2455c5f0d172126156d90e7c06eb2 (diff)
renaissance1: #i107215# Properly restore selection after model changes.
Diffstat (limited to 'sd/source/ui/slidesorter/model')
-rw-r--r--sd/source/ui/slidesorter/model/SlideSorterModel.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
index 156b60b50edd..5eaf64db7bf8 100644
--- a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
+++ b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
@@ -382,6 +382,8 @@ void SlideSorterModel::Resync (void)
SynchronizeDocumentSelection(); // Try to make the current selection persistent.
ClearDescriptorList ();
AdaptSize();
+ SynchronizeModelSelection();
+ mrSlideSorter.GetController().GetPageSelector().CountSelectedPages();
}
CheckModel(*this);
}