diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2021-04-15 15:14:51 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2021-04-16 10:17:41 +0200 |
commit | b26b05746f8d9ce27347d01e601b61a2a97bbbe7 (patch) | |
tree | b32ffb1d593660258ba3310ca03629b7c6615142 /formula | |
parent | 926acbf45578a3f2cd795c41069318ed391c723b (diff) |
android: Show file picker for new docs on "Save As"
When creating a new document in Android Viewer,
don't show a file picker to choose where to save
the file at once, but create a new document and
only ask where to save the file once "Save As"
has been selected.
The plain "Save" entry is disabled until then,
since no URI to save to is known at this time.
The handling for the temporary local file,
which is used for all of the "actual work"
remains unchanged.
While at it, rename
'ToolbarController#disableMenuItem' to
'ToolbarController#enableMenuItem' and
invert the meaning of the boolean parameter
since I find that more straightforward and it also
better matches the naming of the underlying
'MenuItem' method as well.
Change-Id: I3eefada5531bfb2202aca25f2c9f170a463f87f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114152
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
(cherry picked from commit 5ce43b2b4e79c51f0d8922caf77fa6492c05c2a7)
Diffstat (limited to 'formula')
0 files changed, 0 insertions, 0 deletions