Merge pull request #875 from ranjanjharavi/fix-303-New-Window-Opened
New window is opened when Single window is selected in preferences
This commit is contained in:
commit
743df72eed
|
@ -716,7 +716,10 @@ namespace OpenLiveWriter.PostEditor
|
||||||
// as well as the contents of the property tray changing.
|
// as well as the contents of the property tray changing.
|
||||||
if (currentPostIsEmptyAndUnsaved && isNewPost && !editingContext.BlogPost.IsPage)
|
if (currentPostIsEmptyAndUnsaved && isNewPost && !editingContext.BlogPost.IsPage)
|
||||||
{
|
{
|
||||||
PostEditorForm.Launch(editingContext);
|
if (PostEditorSettings.PostWindowBehavior == PostWindowBehavior.UseSameWindow)
|
||||||
|
EditPostWithPostCloseEvent(editingContext);
|
||||||
|
else
|
||||||
|
PostEditorForm.Launch(editingContext);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue