Skip to content

Commit 27c45f2

Browse files
committed
UNO: update search dialog command to include initial focus parameter
Signed-off-by: Parth Raiyani <[email protected]> Change-Id: I2f999f135118dc8ab7015fe97aae9de6cf8de6b8
1 parent e0082ea commit 27c45f2

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

browser/src/app/LOUtil.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ class LOUtil {
266266
closemobile: 'closedocmobile',
267267
'file-saveas': 'saveas',
268268
'home-search': 'recsearch',
269+
searchdialog3finitialfocusreplace3abool3dtrue: 'searchdialog',
269270
'addmb-menu': 'ok',
270271
closetablet: 'view',
271272
defineprintarea: 'menuprintranges',

browser/src/control/Control.NotebookbarCalc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@ window.L.Control.NotebookbarCalc = window.L.Control.NotebookbarWriter.extend({
10381038
'id': 'home-search-dialog',
10391039
'type': 'toolitem',
10401040
'text': _('Replace'),
1041-
'command': '.uno:SearchDialog',
1041+
'command': '.uno:SearchDialog?InitialFocusReplace:bool=true',
10421042
'accessibility': { focusBack: false, combination: 'FD', de: null }
10431043
}
10441044
]

browser/src/control/Control.NotebookbarDraw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@ window.L.Control.NotebookbarDraw = window.L.Control.NotebookbarImpress.extend({
11931193
'id': 'home-search-dialog',
11941194
'type': 'toolitem',
11951195
'text': _('Replace'),
1196-
'command': '.uno:SearchDialog',
1196+
'command': '.uno:SearchDialog?InitialFocusReplace:bool=true',
11971197
'accessibility': { focusBack: false, combination: 'FD', de: null }
11981198
}
11991199
]

browser/src/control/Control.NotebookbarImpress.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ window.L.Control.NotebookbarImpress = window.L.Control.NotebookbarWriter.extend(
12721272
'id': 'home-search-dialog',
12731273
'type': 'toolitem',
12741274
'text': _('Replace'),
1275-
'command': '.uno:SearchDialog',
1275+
'command': '.uno:SearchDialog?InitialFocusReplace:bool=true',
12761276
'accessibility': { focusBack: false, combination: 'FD', de: null }
12771277
}
12781278
]

browser/src/control/Control.NotebookbarWriter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ window.L.Control.NotebookbarWriter = window.L.Control.Notebookbar.extend({
10301030
'id': 'home-search-dialog',
10311031
'type': 'toolitem',
10321032
'text': _('Replace'),
1033-
'command': '.uno:SearchDialog',
1033+
'command': '.uno:SearchDialog?InitialFocusReplace:bool=true',
10341034
'accessibility': { focusBack: false, combination: 'FD', de: 'US' }
10351035
}
10361036
]

0 commit comments

Comments
 (0)