Code

main: automatically refresh after run requests
authorJonas Fonseca <fonseca@diku.dk>
Sun, 21 Sep 2008 16:59:57 +0000 (18:59 +0200)
committerJonas Fonseca <fonseca@diku.dk>
Sun, 21 Sep 2008 16:59:57 +0000 (18:59 +0200)
tig.c

diff --git a/tig.c b/tig.c
index 6b90f998373c481ba5480579ab0b637ad04e85ac..7831536366d96e439d0037aaf1f76204f1e0151d 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -2657,6 +2657,7 @@ view_driver(struct view *view, enum request request)
                open_run_request(request);
                /* FIXME: When all views can refresh always do this. */
                if (view == VIEW(REQ_VIEW_STATUS) ||
+                   view == VIEW(REQ_VIEW_MAIN) ||
                    view == VIEW(REQ_VIEW_STAGE))
                        request = REQ_REFRESH;
                else