Skip to content

Commit

Permalink
Fix issue 242 Occasional exception during blog addition
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas694 committed Jun 5, 2022
1 parent c6520c0 commit f4b4024
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -836,20 +836,6 @@ private void SaveBlog(IBlog blog)
if (blog.Save())
{
AddToManager(blog);
QueueOnDispatcher.CheckBeginInvokeOnUI(() =>
{
try
{
var ecv = (IEditableCollectionView)_managerService.BlogFilesView;
if (ecv.IsAddingNew) ecv.CancelNew();
_managerService.BlogFilesView.Refresh();
}
catch (Exception e)
{
Logger.Error($"ManagerController:SaveBlog: {e}");
throw new Exception("Exception 1", e);
}
});
}
}

Expand Down

0 comments on commit f4b4024

Please sign in to comment.