config editor support for all screenshot settings

This commit is contained in:
Frank Skare
2019-07-24 19:04:04 +02:00
parent 9ea9cb2757
commit a49b9bea61
8 changed files with 84 additions and 118 deletions

View File

@@ -23,8 +23,8 @@ namespace DynamicGUI
ValueTextBox.Width = StringSetting.Width;
if (StringSetting.Type != "folder" && StringSetting.Type != "color")
Button.Visibility = Visibility.Hidden;
Link.SetURL(StringSetting.HelpURL);
if (string.IsNullOrEmpty(stringSetting.HelpURL))
Link.SetURL(StringSetting.URL);
if (string.IsNullOrEmpty(stringSetting.URL))
LinkTextBlock.Visibility = Visibility.Collapsed;
}