Fixed "problem" of unregistered configurations

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@860 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2010-08-24 15:25:54 +00:00
commit 2ecbc82dc7
2 changed files with 7 additions and 0 deletions

View file

@ -58,6 +58,9 @@ namespace GreenshotConfluencePlugin {
this.captureHost = captureHost;
this.myAttributes = myAttributes;
host.OnImageEditorOpen += new OnImageEditorOpenHandler(ImageEditorOpened);
// Register configuration (don't need the configuration itself)
IniConfig.GetIniSection<ConfluenceConfiguration>();
}
public virtual void Shutdown() {

View file

@ -58,6 +58,10 @@ namespace GreenshotJiraPlugin {
this.captureHost = captureHost;
this.myAttributes = myAttributes;
host.OnImageEditorOpen += new OnImageEditorOpenHandler(ImageEditorOpened);
// Register configuration (don't need the configuration itself)
IniConfig.GetIniSection<JiraConfiguration>();
}
public virtual void Shutdown() {