Skip to content

Commit

Permalink
Fix last folder for opened document to use as default for File open d…
Browse files Browse the repository at this point in the history
…ialog.
  • Loading branch information
RickStrahl committed Nov 22, 2016
1 parent c50a6de commit c9b7929
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MarkdownMonster/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ void AddRecentFile(string file)
{
mmApp.Configuration.AddRecentFile(file);
RecentDocumentsContextList();

mmApp.Configuration.LastFolder = Path.GetDirectoryName(file);
}

/// <summary>
Expand Down

0 comments on commit c9b7929

Please sign in to comment.