candidate fix for #3087

This commit is contained in:
Alberto Griggio
2017-03-22 12:49:17 +01:00
parent 687b3fe103
commit 4478c41eed
4 changed files with 78 additions and 47 deletions

View File

@@ -418,6 +418,10 @@ bool FileBrowserEntry::pressNotify (int button, int type, int bstate, int x, i
int ix = x - startx - ofsX;
int iy = y - starty - ofsY;
if (tm == TMNone) {
return b;
}
if (!b && selected && inside (x, y)) {
if (button == 1 && type == GDK_BUTTON_PRESS && state == SNormal) {
if (onArea (CropTopLeft, ix, iy)) {