mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
settings: don't refresh controls when user cancel settings changes
This commit is contained in:
parent
738e037142
commit
e7eaf87663
@ -4282,7 +4282,12 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
settings.Initialize(Icon, toolStripButtonFileNew.Image, toolStripButtonFileOpen.Image, toolStripButtonSave.Image, toolStripButtonSaveAs.Image, toolStripButtonFind.Image,
|
||||
toolStripButtonReplace.Image, toolStripButtonFixCommonErrors.Image, toolStripButtonRemoveTextForHi.Image, toolStripButtonVisualSync.Image,
|
||||
toolStripButtonSpellCheck.Image, toolStripButtonNetflixQualityCheck.Image, toolStripButtonSettings.Image, toolStripButtonHelp.Image);
|
||||
settings.ShowDialog(this);
|
||||
|
||||
// settings update canceled
|
||||
if (settings.ShowDialog(this) == DialogResult.Cancel)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user