FileHistory
FileHistory copied to clipboard
Pressing `right` to open a history entry does not work if previews are disabled
At some point, pressing the right key with the file history list open used to open the currently highlighted history entry without closing the history list. Now, this does not seem to work if show_file_preview is set to False; it only works if it is set to True.
I get the following error in the console:
Traceback (most recent call last):
File "E:\Sublime\sublime_plugin.py", line 775, in run_
return self.run(**args)
File "file_history in E:\Sublime\Data\Installed Packages\File History.sublime-package", line 773, in run
File "file_history in E:\Sublime\Data\Installed Packages\File History.sublime-package", line 492, in quick_open_preview
AttributeError: 'NoneType' object has no attribute 'file_name'