summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorRafael Lima <rafael.palma.lima@gmail.com>2022-12-02 10:39:32 +0000
committerRafael Lima <rafael.palma.lima@gmail.com>2022-12-07 11:03:06 +0000
commite0e51cc5441669f6297383d8d50bfde2854be874 (patch)
treefdd5d92c3af52e33d8d0228fe6ed29e54649a901 /sd
parent441ecdc951211cc1e8453434d26ae40c121cb153 (diff)
tdf#151185 Make Table Design button toggle-able
Change-Id: I86dfc7a6567b24cc6e9a20203625eeb09c17536c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143574 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/table/tablefunction.cxx2
-rw-r--r--sd/uiconfig/sdraw/toolbar/tableobjectbar.xml1
-rw-r--r--sd/uiconfig/simpress/toolbar/tableobjectbar.xml1
3 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/ui/table/tablefunction.cxx b/sd/source/ui/table/tablefunction.cxx
index 352ffb37abfe..d3a26e41a872 100644
--- a/sd/source/ui/table/tablefunction.cxx
+++ b/sd/source/ui/table/tablefunction.cxx
@@ -235,7 +235,7 @@ void DrawViewShell::FuTable(SfxRequest& rReq)
{
// First make sure that the sidebar is visible
GetViewFrame()->ShowChildWindow(SID_SIDEBAR);
- ::sfx2::sidebar::Sidebar::ShowPanel(
+ ::sfx2::sidebar::Sidebar::TogglePanel(
u"SdTableDesignPanel",
GetViewFrame()->GetFrame().GetFrameInterface());
diff --git a/sd/uiconfig/sdraw/toolbar/tableobjectbar.xml b/sd/uiconfig/sdraw/toolbar/tableobjectbar.xml
index 87655aafe2f5..f2f821273c5d 100644
--- a/sd/uiconfig/sdraw/toolbar/tableobjectbar.xml
+++ b/sd/uiconfig/sdraw/toolbar/tableobjectbar.xml
@@ -46,6 +46,5 @@
<toolbar:toolbaritem xlink:href=".uno:EntireColumn" toolbar:visible="false"/>
<toolbar:toolbaritem xlink:href=".uno:EntireRow" toolbar:visible="false"/>
<toolbar:toolbarseparator/>
- <toolbar:toolbaritem xlink:href=".uno:TableDesign"/>
<toolbar:toolbaritem xlink:href=".uno:TableDialog"/>
</toolbar:toolbar>
diff --git a/sd/uiconfig/simpress/toolbar/tableobjectbar.xml b/sd/uiconfig/simpress/toolbar/tableobjectbar.xml
index 87655aafe2f5..f2f821273c5d 100644
--- a/sd/uiconfig/simpress/toolbar/tableobjectbar.xml
+++ b/sd/uiconfig/simpress/toolbar/tableobjectbar.xml
@@ -46,6 +46,5 @@
<toolbar:toolbaritem xlink:href=".uno:EntireColumn" toolbar:visible="false"/>
<toolbar:toolbaritem xlink:href=".uno:EntireRow" toolbar:visible="false"/>
<toolbar:toolbarseparator/>
- <toolbar:toolbaritem xlink:href=".uno:TableDesign"/>
<toolbar:toolbaritem xlink:href=".uno:TableDialog"/>
</toolbar:toolbar>