[gnome-documents] edit: reload active item when switching to view



commit 8681daf60b5928a7802fb41754320b808a94e489
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Nov 12 19:29:33 2016 -0800

    edit: reload active item when switching to view
    
    Fixes fallout from 6ac9ca16d0961063f756a21c91e7b220979ec010.

 src/edit.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/edit.js b/src/edit.js
index c379b94..916da79 100644
--- a/src/edit.js
+++ b/src/edit.js
@@ -95,6 +95,7 @@ const EditView = new Lang.Class({
 
     _viewCurrent: function() {
         Application.modeController.goBack();
+        Application.documentManager.reloadActiveItem();
     },
 
     _onProgressChanged: function() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]