Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: ui/file_manager/gallery/js/slide_mode.js

Issue 1784143003: Gallery: Update edit-mode-applicavilities even if it's a instant auto fix, and update them on undo/… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/image_editor.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/gallery/js/slide_mode.js
diff --git a/ui/file_manager/gallery/js/slide_mode.js b/ui/file_manager/gallery/js/slide_mode.js
index 1c0ba4a026a02fef7f7154c9c4597d054ffb38b8..dcad95590e71f68c346085edcd38373f177bd1de 100644
--- a/ui/file_manager/gallery/js/slide_mode.js
+++ b/ui/file_manager/gallery/js/slide_mode.js
@@ -1643,6 +1643,7 @@ SlideMode.prototype.toggleEditor = function(opt_event) {
}.bind(this));
this.setSubMode_(Gallery.SubMode.EDIT);
+ this.editor_.onStartEditing();
} else {
this.editor_.getPrompt().hide();
this.editor_.leaveMode(false /* not to switch mode */);
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/image_editor.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698