Fix for bug #3577305, using interactive capture mode as the active window is not longer active when a click on the context menu is made. The mouse also needs to be removed (is made by specifying false in the CaptureWindowInteractive call), as it was on the context menu the location no longer makes sense.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2196 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-10-24 18:26:43 +00:00
commit c97600982a

View file

@ -846,7 +846,9 @@ namespace Greenshot {
}
void Contextmenu_capturewindow_Click(object sender,EventArgs e) {
CaptureWindow();
BeginInvoke((MethodInvoker)delegate {
CaptureHelper.CaptureWindowInteractive(false);
});
}
void Contextmenu_capturewindowfromlist_Click(object sender,EventArgs e) {