Skip to content

Pressing right to open a history entry does not work if previews are disabled #40

Open

Description

@rahul-ramadas

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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions