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,6 +716,9 @@ 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)
|
||||||
{
|
{
|
||||||
|
if (PostEditorSettings.PostWindowBehavior == PostWindowBehavior.UseSameWindow)
|
||||||
|
EditPostWithPostCloseEvent(editingContext);
|
||||||
|
else
|
||||||
PostEditorForm.Launch(editingContext);
|
PostEditorForm.Launch(editingContext);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue