Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-12-12 02:05:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-12-12 02:05:10 +0300
commit6dc52c893f7d1d039c8bee0aca20d1f2e633b57d (patch)
treeec3d5835482179c4738f0bb027cef2c4d3015260 /source/blender/src/editscreen.c
parent5e3f4c20bba737a266e3efbb5bca869bdeabcfba (diff)
for button popups, dont close unless you click or press escape, this would often close when dragging a button value (or when using a tablet I am told)
Diffstat (limited to 'source/blender/src/editscreen.c')
-rw-r--r--source/blender/src/editscreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c
index da6884d4394..b843d820ba5 100644
--- a/source/blender/src/editscreen.c
+++ b/source/blender/src/editscreen.c
@@ -531,7 +531,7 @@ static void scrarea_dispatch_header_events(ScrArea *sa)
while(bwin_qread(sa->headwin, &evt)) {
if(evt.val) {
- if( uiDoBlocks(&curarea->uiblocks, evt.event)!=UI_NOTHING ) evt.event= 0;
+ if( uiDoBlocks(&curarea->uiblocks, evt.event, 1)!=UI_NOTHING ) evt.event= 0;
switch(evt.event) {
case UI_BUT_EVENT: