Fixed a Thread setup, no reported bugs on the "error" yet.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2081 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-09-22 13:00:51 +00:00
commit 3637cd0420

View file

@ -343,17 +343,18 @@ namespace Greenshot {
if (conf.OutputDestinations.Count == 0) {
conf.OutputDestinations.Add(Destinations.EditorDestination.DESIGNATION);
}
if (conf.DisableQuickSettings) {
contextmenu_quicksettings.Visible = false;
} else {
BeginInvoke((MethodInvoker)delegate {
// Do after all plugins & finding the destination, otherwise they are missing!
InitializeQuickSettingsMenu();
});
}
if (conf.DisableQuickSettings) {
contextmenu_quicksettings.Visible = false;
} else {
BeginInvoke((MethodInvoker)delegate {
// Do after all plugins & finding the destination, otherwise they are missing!
InitializeQuickSettingsMenu();
});
}
});
pluginInitThread.Name = "Initialize plug-ins";
pluginInitThread.IsBackground = true;
pluginInitThread.SetApartmentState(ApartmentState.STA);
pluginInitThread.Start();
SoundHelper.Initialize();