Bugfix #17306: Missing refresh call for button in UserPrefs
authorJoshua Leung <aligorith@gmail.com>
Fri, 11 Jul 2008 00:36:38 +0000 (00:36 +0000)
committerJoshua Leung <aligorith@gmail.com>
Fri, 11 Jul 2008 00:36:38 +0000 (00:36 +0000)
Autokey settings were missing redraw for Info-window

source/blender/src/space.c

index fe9bb3279cc3dcfe1398ab024c07ce9496b7d884..3b8bb4c3929be8f152e2019288b34666d77fc701 100644 (file)
@@ -4440,7 +4440,10 @@ static void winqreadinfospace(ScrArea *sa, void *spacedata, BWinEvent *evt)
 
                switch(event) {
                case UI_BUT_EVENT:
-                       if(val==REDRAWTIME) allqueue(REDRAWTIME, 0);
+                       if(val==REDRAWTIME) {
+                               allqueue(REDRAWTIME, 0);
+                               addqueue(sa->win, REDRAW, 1);
+                       }
                        else if(val==B_ADD_THEME) {
                                bTheme *btheme, *new;