Skip to content

Commit 70e73b5

Browse files
author
Monalisa Baltatescu
committed
Fix unable to unselect revent file
1 parent 93dc84d commit 70e73b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controls/filePicker/RecentFilesTab/RecentFilesTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export default class RecentFilesTab extends React.Component<IRecentFilesTabProps
235235
* Gets called what a file is selected.
236236
*/
237237
private _handleItemInvoked = (item: IRecentFile) => {
238-
this._selection.setKeySelected(item.key, true, true);
238+
this._selection.toggleKeySelected(item.key);
239239
}
240240

241241
/**

0 commit comments

Comments
 (0)