From 936958947abfe1128e02984836da2b6686d1d8dd Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Wed, 8 Dec 2021 17:51:35 -0600 Subject: [PATCH] ignore openinnewwindow --- .../UserSettings/CustomBrowserViewModel.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs b/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs index 83d5b14c9..24584115d 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs @@ -1,4 +1,5 @@ using Flow.Launcher.Plugin; +using System.Text.Json.Serialization; namespace Flow.Launcher.Infrastructure.UserSettings { @@ -9,6 +10,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings public string PrivateArg { get; set; } public bool EnablePrivate { get; set; } public bool OpenInTab { get; set; } = true; + [JsonIgnore] public bool OpenInNewWindow => !OpenInTab; public bool Editable { get; set; } = true;