Preview Pane forgets mode after file deletion

Steps to reproduce

  1. Open a note in the editor.
  2. Open a linked preview pane.
  3. Delete the note in File Explorer.
  4. Click on another note in File explorer.

Expected result

Clicked note opens in both editor and preview pane for editing and previewing respectively.

Actual result

Note opens up for editing in both panes.

Environment

  • Operating system: Ubuntu 20.04 LTS
  • Obsidian version: 0.6.5
  • Using custom CSS: No.

Additional information

Sometimes rather than the described behavior above, the Linked Preview Pane would not open the file at all.

2 posts were merged into an existing topic: Edit/Preview layout lost during routine operations