diff --git a/Greenshot/Forms/MainForm.cs b/Greenshot/Forms/MainForm.cs index ef02abedf..a98487b77 100644 --- a/Greenshot/Forms/MainForm.cs +++ b/Greenshot/Forms/MainForm.cs @@ -287,9 +287,7 @@ namespace Greenshot { private SettingsForm settingsForm = null; // Make sure we have only one about form private AboutForm aboutForm = null; - // Make sure we have only one help browser - private HelpBrowserForm helpBrowserForm = null; - + public MainForm(CopyDataTransport dataTransport) { instance = this; diff --git a/GreenshotPlugin/IniFile/IniConfig.cs b/GreenshotPlugin/IniFile/IniConfig.cs index 20bf1816e..5a524cfd3 100644 --- a/GreenshotPlugin/IniFile/IniConfig.cs +++ b/GreenshotPlugin/IniFile/IniConfig.cs @@ -260,6 +260,18 @@ namespace Greenshot.IniFile { } } + /// + /// Method used for internal tricks... + /// + /// + /// + public static IniSection GetIniSection(string sectionName) { + if (sectionMap.ContainsKey(sectionName)) { + return sectionMap[sectionName]; + } + return null; + } + /// /// A generic method which returns an instance of the supplied type, filled with it's configuration ///