diff --git a/client/modules/IDE/components/SidebarItem.js b/client/modules/IDE/components/SidebarItem.js index 9d3e3c73..4d58377a 100644 --- a/client/modules/IDE/components/SidebarItem.js +++ b/client/modules/IDE/components/SidebarItem.js @@ -41,10 +41,10 @@ class SidebarItem extends React.Component { className={itemClass} onBlur={() => this.props.hideFileOptions(this.props.file.id)} tabIndex={this.props.fileIndex} + onClick={() => this.props.setSelectedFile(this.props.file.id)} > this.props.setSelectedFile(this.props.file.id)} >{this.props.file.name} - + + +