Index: Source/devtools/front_end/workspace/UISourceCode.js |
diff --git a/Source/devtools/front_end/workspace/UISourceCode.js b/Source/devtools/front_end/workspace/UISourceCode.js |
index 781fcd4ccba95f71118feef372e192b98dfc6522..5472bef7fdacf1d532e0d5465a689022f99d24c9 100644 |
--- a/Source/devtools/front_end/workspace/UISourceCode.js |
+++ b/Source/devtools/front_end/workspace/UISourceCode.js |
@@ -363,9 +363,9 @@ WebInspector.UISourceCode.prototype = { |
*/ |
function callback(accepted) |
{ |
- if (!accepted) |
- return; |
- this._savedWithFileManager = true; |
+ this._savedWithFileManager = accepted; |
+ if (accepted) |
+ this._hasCommittedChanges = false; |
this.dispatchEventToListeners(WebInspector.UISourceCode.Events.SavedStateUpdated); |
} |
}, |