Skip to content

Commit 7a9d1bc

Browse files
author
p01
committed
Fixed DFL-3642 - Clear detail view upon switching debugging context
1 parent e7958cb commit 7a9d1bc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/resource-manager/resource_detail_view.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,16 @@ cls.ResourceDetailView = function(id, name, container_class, html, default_handl
173173
window.UI.instance.show_view( this.id );
174174
};
175175

176+
this._on_debug_context_selected_bound = function()
177+
{
178+
this.resource = null;
179+
this.update();
180+
}.bind(this);
181+
182+
var messages = window.messages;
183+
messages.addListener('debug-context-selected', this._on_debug_context_selected_bound);
184+
185+
176186
this.init(id, name, container_class, html, default_handler);
177187
};
178188

0 commit comments

Comments
 (0)