Ticket #2216: 0001-ticket-2216-small-fix-on-refreshing-Lazy-Active-labe.patch

File 0001-ticket-2216-small-fix-on-refreshing-Lazy-Active-labe.patch, 840 bytes (added by Janek Kozicki, 12 years ago)

second patch, on top of previous one.

  • src/tree.c

    From 599be30037207f19ea8b9b76a76dfd78c506f3ce Mon Sep 17 00:00:00 2001
    From: Janek Kozicki <janek_listy@wp.pl>
    Date: Sat, 22 May 2010 06:07:35 +0200
    Subject: [PATCH] ticket 2216: small fix on refreshing Lazy Active labels
    
    ---
     src/tree.c |    4 +++-
     1 files changed, 3 insertions(+), 1 deletions(-)
    
    diff --git a/src/tree.c b/src/tree.c
    index cc0e0ea..13cfd19 100644
    a b tree_event (WTree * tree, int y) 
    535535    } 
    536536    refresh_always_tmp = xtree_mode; 
    537537    xtree_mode = TRUE; 
    538     tree_chdir_sel (tree, FALSE, TRUE); 
     538    tree_chdir_sel (tree, FALSE, FALSE); 
    539539    xtree_mode = refresh_always_tmp; 
    540540    show_tree (tree); 
     541    change_panel (); /* force refresh of ButtonBar */ 
     542    change_panel (); 
    541543} 
    542544 
    543545/* In fact I don't know how to refresh without unfolding / Janek Kozicki */