summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/Sidebar.cxx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2014-11-05 23:12:55 +0100
committerSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2014-11-05 23:15:47 +0100
commitd59b9b4af36148e4d8df8f3e3492116d378642e2 (patch)
treee9ce25544fae1f962da815cad8c96be8d541249a /sfx2/source/sidebar/Sidebar.cxx
parentff1aae469f6521b67e51c9e77415ba847eed69e8 (diff)
fdo#67627 fdo#85791 Allow to show/hide sidebar decks with the same command
This also reintroduces the code to switch the decks asynchronously (removed unintentionally before) Change-Id: I825b4d7c5777097e9d3b3d82adbe1f646510dc9d
Diffstat (limited to 'sfx2/source/sidebar/Sidebar.cxx')
-rw-r--r--sfx2/source/sidebar/Sidebar.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/Sidebar.cxx b/sfx2/source/sidebar/Sidebar.cxx
index 245307c3328a..fe1bc5c3cf11 100644
--- a/sfx2/source/sidebar/Sidebar.cxx
+++ b/sfx2/source/sidebar/Sidebar.cxx
@@ -40,10 +40,11 @@ void Sidebar::ShowPanel (
// All that is not necessary for the current use cases so lets
// keep it simple for the time being.
- pController->OpenThenSwitchToDeck(pPanelDescriptor->msDeckId);
+ pController->RequestSwitchToDeck(pPanelDescriptor->msDeckId);
}
}
+
} } // end of namespace sfx2::sidebar
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */