Fix crash in Settings when Icons dir not present - thx JDTR75 :)

Fix #6998
This commit is contained in:
niksedk 2023-06-08 06:31:11 +02:00
parent 92b04ff61f
commit 6ee080dede

View File

@ -1204,6 +1204,7 @@ namespace Nikse.SubtitleEdit.Forms.Options
{ {
comboBoxToolbarIconTheme.Visible = false; comboBoxToolbarIconTheme.Visible = false;
labelToolbarIconTheme.Visible = false; labelToolbarIconTheme.Visible = false;
return;
} }
comboBoxToolbarIconTheme.SelectedIndexChanged -= comboBoxToolbarIconTheme_SelectedIndexChanged; comboBoxToolbarIconTheme.SelectedIndexChanged -= comboBoxToolbarIconTheme_SelectedIndexChanged;