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,8 +533,10 @@ namespace Greenshot {
if (!RegisterWrapper(failedKeys, "CaptureLastRegion", "LastregionHotkey", new HotKeyHandler(instance.CaptureLastRegion))) { if (!RegisterWrapper(failedKeys, "CaptureLastRegion", "LastregionHotkey", new HotKeyHandler(instance.CaptureLastRegion))) {
success = false; success = false;
} }
if (!RegisterWrapper(failedKeys, "CaptureIE", "IEHotkey", new HotKeyHandler(instance.CaptureIE))) { if (conf.IECapture) {
success = false; if (!RegisterWrapper(failedKeys, "CaptureIE", "IEHotkey", new HotKeyHandler(instance.CaptureIE))) {
success = false;
}
} }
if (!success) { if (!success) {
@ -597,7 +599,9 @@ namespace Greenshot {
} }
void CaptureIE() { void CaptureIE() {
CaptureHelper.CaptureIE(true, null); if (conf.IECapture) {
CaptureHelper.CaptureIE(true, null);
}
} }
void CaptureWindow() { void CaptureWindow() {