From f5abbcfe124bdc7160fa8d3448be01cbe03e1252 Mon Sep 17 00:00:00 2001 From: Navaneeth Pk Date: Fri, 20 Aug 2021 22:09:21 +0530 Subject: [PATCH] Click widget to open inspector (#564) --- frontend/src/Editor/Editor.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Editor/Editor.jsx b/frontend/src/Editor/Editor.jsx index 35ecb86480..046779fe4a 100644 --- a/frontend/src/Editor/Editor.jsx +++ b/frontend/src/Editor/Editor.jsx @@ -786,8 +786,8 @@ class Editor extends React.Component { configHandleClicked={this.configHandleClicked} removeComponent={this.removeComponent} onComponentClick={(id, component) => { - // this.setState({ selectedComponent: { id, component } }); - // this.switchSidebarTab(1); + this.setState({ selectedComponent: { id, component } }); + this.switchSidebarTab(1); onComponentClick(this, id, component); }} />