[gnome-documents/gnome-3-22] edit: reload active item when switching to view
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/gnome-3-22] edit: reload active item when switching to view
- Date: Fri, 24 Mar 2017 18:53:21 +0000 (UTC)
commit d4fd3c8910f4e5feabdd262dd8226ecb0546397e
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 8a8a2c1..c07abe6 100644
--- a/src/edit.js
+++ b/src/edit.js
@@ -91,6 +91,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]