Fix for bug #3536717, expert settings is still visible if the HideExpertSettings is set to true

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1930 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-06-21 08:33:03 +00:00
parent 43b157851e
commit 05765eb793

View file

@ -203,7 +203,9 @@ namespace Greenshot {
/// Update the UI to reflect the language and other text settings
/// </summary>
private void UpdateUI() {
tab_expert.Visible = !coreConfiguration.HideExpertSettings;
if (coreConfiguration.HideExpertSettings) {
tabcontrol.Controls.Remove(tab_expert);
}
toolTip.SetToolTip(label_language, Language.GetString(LangKey.settings_tooltip_language));
toolTip.SetToolTip(label_storagelocation, Language.GetString(LangKey.settings_tooltip_storagelocation));
toolTip.SetToolTip(label_screenshotname, Language.GetString(LangKey.settings_tooltip_filenamepattern));