Making sure there is no IE capture, if the setting is disabled. Although I couldn't find any evidence that there is a bug here, as reported, this doesn't hurt.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2103 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-09-28 10:30:57 +00:00
commit d9f77270f5

View file

@ -533,9 +533,11 @@ namespace Greenshot {
if (!RegisterWrapper(failedKeys, "CaptureLastRegion", "LastregionHotkey", new HotKeyHandler(instance.CaptureLastRegion))) {
success = false;
}
if (conf.IECapture) {
if (!RegisterWrapper(failedKeys, "CaptureIE", "IEHotkey", new HotKeyHandler(instance.CaptureIE))) {
success = false;
}
}
if (!success) {
MessageBox.Show(Language.GetFormattedString(LangKey.warning_hotkeys, failedKeys.ToString()),Language.GetString(LangKey.warning));
@ -597,8 +599,10 @@ namespace Greenshot {
}
void CaptureIE() {
if (conf.IECapture) {
CaptureHelper.CaptureIE(true, null);
}
}
void CaptureWindow() {
if (conf.CaptureWindowsInteractive) {