From b8c0e67cdca89f7699fa58a99383b45b3dccde07 Mon Sep 17 00:00:00 2001 From: mfranz Date: Tue, 20 Jan 2009 14:23:24 +0000 Subject: [PATCH] one more PUCLASS exception (not that we used puaScrollBar yet) --- src/GUI/dialog.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GUI/dialog.cxx b/src/GUI/dialog.cxx index f4bc829a3..9ea0b4451 100644 --- a/src/GUI/dialog.cxx +++ b/src/GUI/dialog.cxx @@ -214,7 +214,8 @@ int fgPopup::checkHit(int button, int updown, int x, int y) int hit = getHitObjects(this, x, y); if (hit & PUCLASS_LIST) // ctrl-click in property browser (toggle bool) return result; - if (!global_resize && hit & (PUCLASS_BUTTON|PUCLASS_ONESHOT|PUCLASS_INPUT|PUCLASS_LARGEINPUT)) + if (!global_resize && hit & (PUCLASS_BUTTON|PUCLASS_ONESHOT|PUCLASS_INPUT + |PUCLASS_LARGEINPUT|PUCLASS_SCROLLBAR)) return result; getPosition(&_dlgX, &_dlgY); -- 2.39.5