def show_preview(self, selected_index):
        # Note: This function will never be called in ST2
        self.current_selected_index = selected_index
        selected_entry = self.get_history_by_index(selected_index)
        if selected_entry:
            # A bug in SublimeText will cause the quick-panel to unexpectedly close trying to show the preview
            # for a file that is already open in a different group, so simply don't display the preview for these files.
            # In later releases, a 'FORCE_GROUP' flag has been introduced.
            if hasattr(sublime, 'FORCE_GROUP') and not FileHistory().get_view_from_another_group(self.window, selected_entry['filename']):
                FileHistory().preview_history(self.window, selected_entry)
dataset/ETHPy150Open FichteFoll/FileHistory/file_history.py/OpenRecentlyClosedFileCommand.show_preview/operator `or` -> `and`