diff --git a/client/modules/IDE/components/SidebarItem.js b/client/modules/IDE/components/SidebarItem.js index efec5e0a..5885b7a7 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}