summaryrefslogtreecommitdiffstats
path: root/browser/src/control/Control.UIManager.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/src/control/Control.UIManager.js')
-rw-r--r--browser/src/control/Control.UIManager.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/browser/src/control/Control.UIManager.js b/browser/src/control/Control.UIManager.js
index 88ad980349..8e8371ba6e 100644
--- a/browser/src/control/Control.UIManager.js
+++ b/browser/src/control/Control.UIManager.js
@@ -221,6 +221,15 @@ L.Control.UIManager = L.Control.extend({
if (window.mode.isDesktop() && !window.ThisIsAMobileApp) {
var showSidebar = this.getSavedStateOrDefault('ShowSidebar');
+ if (this.map.getDocType() === 'presentation') {
+ if (this.getSavedStateOrDefault('SdSlideTransitionDeck'))
+ app.socket.sendMessage('uno .uno:SlideChangeWindow');
+ else if (this.getSavedStateOrDefault('SdCustomAnimationDeck'))
+ app.socket.sendMessage('uno .uno:CustomAnimation');
+ else if (this.getSavedStateOrDefault('SdMasterPagesDeck'))
+ app.socket.sendMessage('uno .uno:MasterSlidesPanel');
+ }
+
if (showSidebar === false)
app.socket.sendMessage('uno .uno:SidebarHide');
}