[Libreoffice-commits] .: sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Jan 10 05:50:57 PST 2013
sc/source/ui/dbgui/sortkeydlg.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 2c403c7f36561410418ebb9f86664e46a8c1c968
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jan 10 13:49:20 2013 +0000
Resolves: fdo#59112 re-scroll to current entry when dialog resized
Change-Id: I96486f6edad11520bf9bb43b700b1716d9b2f170
diff --git a/sc/source/ui/dbgui/sortkeydlg.cxx b/sc/source/ui/dbgui/sortkeydlg.cxx
index 76a8747..211afcc 100644
--- a/sc/source/ui/dbgui/sortkeydlg.cxx
+++ b/sc/source/ui/dbgui/sortkeydlg.cxx
@@ -126,6 +126,7 @@ void ScSortKeyCtrl::setScrollRange()
sal_Int32 nVisibleItems = m_rScrolledWindow.getVisibleChildSize().Height() / nScrollOffset;
m_rVertScroll.SetPageSize( nVisibleItems - 1 );
m_rVertScroll.SetVisibleSize( nVisibleItems );
+ m_rVertScroll.Scroll();
}
// -----------------------------------------------------------------------
More information about the Libreoffice-commits
mailing list