loleaflet/src/control/Parts.js |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 8cc2012b53c12ef85303cd3a2d8c7ae2c3d03909
Author: Marco Cecchetti <marco.cecche...@collabora.com>
Date:   Tue Apr 25 12:35:42 2017 +0200

    Loleaflet - fix: row/col header do not update on switching tab
    
    Change-Id: I6528646276647ea78048d68eb91794cb394b67c3
    Reviewed-on: https://gerrit.libreoffice.org/36937
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@collabora.com>

diff --git a/loleaflet/src/control/Parts.js b/loleaflet/src/control/Parts.js
index 1071db03..1953eb52 100644
--- a/loleaflet/src/control/Parts.js
+++ b/loleaflet/src/control/Parts.js
@@ -51,6 +51,8 @@ L.Map.include({
                if (!this._searchRequested) {
                        this.focus();
                }
+               if (docLayer._docType === 'spreadsheet')
+                       this.fire('updaterowcolumnheaders', {x: 
this._getTopLeftPoint().x, y: this._getTopLeftPoint(), offset: {x: undefined, 
y: undefined}});
        },
 
        getPreview: function (id, index, maxWidth, maxHeight, options) {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to