mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Improve tag visibility in history item info form
This commit is contained in:
parent
ffc0712276
commit
0894440771
1 changed files with 10 additions and 0 deletions
|
@ -23,8 +23,10 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace ShareX.HistoryLib
|
||||
{
|
||||
|
@ -39,6 +41,14 @@ public class HistoryItem
|
|||
public string ThumbnailURL { get; set; }
|
||||
public string DeletionURL { get; set; }
|
||||
public string ShortenedURL { get; set; }
|
||||
|
||||
[Browsable(false)]
|
||||
public Dictionary<string, string> Tags { get; set; }
|
||||
|
||||
[JsonIgnore, DisplayName("Tags[WindowTitle]")]
|
||||
public string TagsWindowTitle => Tags?["WindowTitle"];
|
||||
|
||||
[JsonIgnore, DisplayName("Tags[ProcessName]")]
|
||||
public string TagsProcessName => Tags?["ProcessName"];
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue