summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2011-05-13 17:49:59 +0100
committerJan Holesovsky <kendy@suse.cz>2011-05-16 15:56:50 +0200
commitc10a65e7d6d95443e699f328a44ee28faddedad6 (patch)
tree417bf34089f515ddabe32bc7a42fcf6600d71a87
parentc0fbbfc7a81fb8496ea21d0c82f4bc6990467125 (diff)
fix for fdo#36684
fix layout problem with toolbars ( when enabling/disabling them from View/Toolbars ) Signed-off-by: Jan Holesovsky <kendy@suse.cz>
-rw-r--r--framework/source/layoutmanager/toolbarlayoutmanager.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
index 61e787ec7c..fd09556888 100644
--- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx
+++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
@@ -570,6 +570,7 @@ bool ToolbarLayoutManager::showToolbar( const ::rtl::OUString& rResourceURL )
aUIElement.m_bVisible = true;
implts_writeWindowStateData( aUIElement );
implts_setToolbar( aUIElement );
+ implts_sortUIElements();
return true;
}