summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2022-06-13 17:32:18 +0200
committerGökay ŞATIR <gokaysatir@gmail.com>2022-06-14 10:49:24 +0300
commit29003d0d667903549e4afd546d3c1bcd51130389 (patch)
tree8b7d32f6041e1562d50090de9ba0ae8fdab2cee5
parentBump version to 21.11.5.3 (diff)
downloadonline-29003d0d667903549e4afd546d3c1bcd51130389.tar.gz
online-29003d0d667903549e4afd546d3c1bcd51130389.zip
Allow to send view mode command when dialog is opened
We automatically send notebookbar activation command in some cases. Allow this command when dialog is opened and don't blink. Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: Iac068cfca49ce6dbfe241bde752a475560d3445e
-rw-r--r--browser/src/control/Toolbar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/src/control/Toolbar.js b/browser/src/control/Toolbar.js
index eb4a08af25..8927038374 100644
--- a/browser/src/control/Toolbar.js
+++ b/browser/src/control/Toolbar.js
@@ -357,7 +357,7 @@ L.Map.include({
if (this.uiManager.isUIBlocked())
return;
- if (this.dialog.hasOpenedDialog())
+ if (this.dialog.hasOpenedDialog() && !command.startsWith('.uno:ToolbarMode'))
this.dialog.blinkOpenDialog();
else if (this.isPermissionEdit() || isAllowedInReadOnly) {
if (!this.messageNeedsToBeRedirected(command)) {