mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 17:56:51 +13:00
If value is empty then don't add it
This commit is contained in:
parent
a74b669780
commit
15058b1be9
1 changed files with 8 additions and 5 deletions
|
@ -86,6 +86,8 @@ private void UpdateWindowInfo()
|
|||
}
|
||||
|
||||
private void AddInfo(string name, string value)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(value))
|
||||
{
|
||||
rtbInfo.SetFontBold();
|
||||
rtbInfo.AppendLine(name);
|
||||
|
@ -93,6 +95,7 @@ private void AddInfo(string name, string value)
|
|||
rtbInfo.AppendLine(value);
|
||||
rtbInfo.AppendLine();
|
||||
}
|
||||
}
|
||||
|
||||
private void btnInspectWindow_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue