[gnome-documents] edit: reload active item when switching to view
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] edit: reload active item when switching to view
- Date: Sun, 13 Nov 2016 04:30:26 +0000 (UTC)
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]