80b6e97824
When saving while editing a cell, the document is saved with the new cell contents (as the cell editing is interrupted and applied), but the modified status is not published to the client (loleaflet). This has the unfortunate side-effect that the EverModified flag is not set in this scenario. To avoid this, this patch sets the EverModified upon successful saving. This is easier than forcing LO Core to emit ModifiedStatus=true in the scenario above. Though it suffers from the false-positive result when the user forces a save. Although this is probably defensible, since technically the document changes upon saving (though not the content if there was nothing new to save). On the other hand, it's less harmful to signal modification due to save than to ignore genuine modification to the document. Change-Id: I7ccba62731f534b69819f7924eeb9231d874c111 Reviewed-on: https://gerrit.libreoffice.org/38398 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> |
||
---|---|---|
.. | ||
admin | ||
bootstrap | ||
cursors | ||
images | ||
l10n | ||
toolbar | ||
errormessages.js | ||
leaflet.css | ||
loading.html | ||
loleaflet-help.html | ||
loleaflet.css | ||
loleaflet.html | ||
menubar.css | ||
partsPreviewControl.css | ||
scrollBar.css | ||
searchControl.css | ||
selectionMarkers.css | ||
spreadsheet.css | ||
toolbar.css |