mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 13:10:00 -07:00
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:
parent
be3df25804
commit
d9f77270f5
1 changed files with 7 additions and 3 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue