mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 04:59:30 -07:00
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:
parent
bda2466bff
commit
3637cd0420
1 changed files with 9 additions and 8 deletions
|
@ -343,17 +343,18 @@ namespace Greenshot {
|
||||||
if (conf.OutputDestinations.Count == 0) {
|
if (conf.OutputDestinations.Count == 0) {
|
||||||
conf.OutputDestinations.Add(Destinations.EditorDestination.DESIGNATION);
|
conf.OutputDestinations.Add(Destinations.EditorDestination.DESIGNATION);
|
||||||
}
|
}
|
||||||
if (conf.DisableQuickSettings) {
|
if (conf.DisableQuickSettings) {
|
||||||
contextmenu_quicksettings.Visible = false;
|
contextmenu_quicksettings.Visible = false;
|
||||||
} else {
|
} else {
|
||||||
BeginInvoke((MethodInvoker)delegate {
|
BeginInvoke((MethodInvoker)delegate {
|
||||||
// Do after all plugins & finding the destination, otherwise they are missing!
|
// Do after all plugins & finding the destination, otherwise they are missing!
|
||||||
InitializeQuickSettingsMenu();
|
InitializeQuickSettingsMenu();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
pluginInitThread.Name = "Initialize plug-ins";
|
pluginInitThread.Name = "Initialize plug-ins";
|
||||||
pluginInitThread.IsBackground = true;
|
pluginInitThread.IsBackground = true;
|
||||||
|
pluginInitThread.SetApartmentState(ApartmentState.STA);
|
||||||
pluginInitThread.Start();
|
pluginInitThread.Start();
|
||||||
|
|
||||||
SoundHelper.Initialize();
|
SoundHelper.Initialize();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue