summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-03-08 14:05:35 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-03-08 14:05:35 +0100
commit16132767ef827fcd5e63d80566ba1e4238324d99 (patch)
treee155d44c934aa3ca60878cea1aa2acc60266575d /svtools/source
parent4c969b1be929c1fadee8f12dfde761b5d8060f20 (diff)
slidecopy: properly update scroll position when a panel is removed
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/toolpanel/paneltabbar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/toolpanel/paneltabbar.cxx b/svtools/source/toolpanel/paneltabbar.cxx
index 4cf3a7ab8779..d204e6875722 100644
--- a/svtools/source/toolpanel/paneltabbar.cxx
+++ b/svtools/source/toolpanel/paneltabbar.cxx
@@ -509,7 +509,7 @@ namespace svt
bItemsDirty = true;
rTabBar.Invalidate();
- if ( i_nPosition <= m_nScrollPosition )
+ if ( i_nPosition < m_nScrollPosition )
--m_nScrollPosition;
UpdateScrollButtons();
}