properly notify Editor that it's been changed when the Document Properties settings providers have been modified
This commit is contained in:
parent
54e11b8da6
commit
1f1f4a9fb0
@ -771,12 +771,18 @@ namespace UniversalEditor.UserInterface
|
||||
|
||||
for (int i = 0; i < providers.Length; i++)
|
||||
{
|
||||
providers[i].LoadSettings();
|
||||
dialog.SettingsProviders.Add(providers[i]);
|
||||
}
|
||||
|
||||
if (dialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
// TODO: update settings
|
||||
BeginEdit();
|
||||
for (int i = 0; i < providers.Length; i++)
|
||||
{
|
||||
providers[i].SaveSettings();
|
||||
}
|
||||
EndEdit();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user