File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Flow.Launcher.Infrastructure/UserSettings Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- using NLog . Time ;
2
- using System ;
3
- using System . Security . Cryptography . X509Certificates ;
4
- using System . Security . RightsManagement ;
1
+ using System ;
5
2
using System . Text . Json . Serialization ;
6
3
7
4
namespace Flow . Launcher . Infrastructure . UserSettings
@@ -11,11 +8,14 @@ public class CustomShortcutModel
11
8
{
12
9
public string Key { get ; set ; }
13
10
public string Value { get ; set ; }
14
- public bool CanBeEdited { get ; private set ; } // Can be edited by user via dialog
11
+
12
+ [ JsonIgnore ]
13
+ public bool CanBeEdited { get ; private set ; } // Can be edited by user from settings window
15
14
16
15
[ JsonIgnore ]
17
16
public Func < string > Expand { get ; set ; } = ( ) => { return "" ; } ;
18
17
18
+ [ JsonConstructorAttribute ]
19
19
public CustomShortcutModel ( string key , string value )
20
20
{
21
21
Key = key ;
You can’t perform that action at this time.
0 commit comments