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

Unified Diff: dart/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/preferences/DartKeyBindingPersistence.java

Issue 163133002: Version 1.2.0-dev.5.2 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 10 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 | « no previous file | dart/pkg/docgen/bin/docgen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/preferences/DartKeyBindingPersistence.java
===================================================================
--- dart/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/preferences/DartKeyBindingPersistence.java (revision 32643)
+++ dart/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/preferences/DartKeyBindingPersistence.java (working copy)
@@ -263,7 +263,9 @@
List<Map<String, String>> newBindings;
newBindings = readKeyBindingsFromStream(new InputSource(reader));
for (Map<String, String> map : newBindings) {
- updateKeyBinding(map);
+ if (!map.get(XML_ATTRIBUTE_COMMANDID).equals("Generate JavaScript")) {
+ updateKeyBinding(map);
+ }
}
try {
« no previous file with comments | « no previous file | dart/pkg/docgen/bin/docgen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698