• R/O
  • SSH
  • HTTPS

netoffice: Commit


Commit MetaInfo

Revision197 (tree)
Time2021-02-08 12:28:33
Authorsebastiandotnet

Log Message

fix toolbox load configuration

Change Summary

Incremental Difference

--- Toolbox/Toolbox/Forms/MainForm.cs (revision 196)
+++ Toolbox/Toolbox/Forms/MainForm.cs (revision 197)
@@ -226,7 +226,11 @@
226226 document = CreateDefaultConfiguration();
227227
228228 foreach (var item in _toolboxControls)
229- item.LoadConfiguration(document.SelectSingleNode("NODeveloperToolbox.Settings/" + item.ControlName));
229+ {
230+ XmlNode sectionNode = document.SelectSingleNode("NODeveloperToolbox.Settings/" + item.ControlName);
231+ if(null != sectionNode)
232+ item.LoadConfiguration(sectionNode);
233+ }
230234 }
231235
232236 private void SaveConfiguration()
Show on old repository browser