Ticket #11027: 0001-Expander-don-t-keep-jumping-to-the-last-contents-whe.patch

File 0001-Expander-don-t-keep-jumping-to-the-last-contents-whe.patch, 920 bytes (added by humdinger, 10 years ago)

don't scroll down

  • src/apps/expander/ExpanderWindow.cpp

    From 3c8dd71929b122053bc68e18c990865d76d5ee66 Mon Sep 17 00:00:00 2001
    From: Humdinger <humdingerb@gmail.com>
    Date: Tue, 23 Dec 2014 10:19:54 +0100
    Subject: [PATCH] Expander: don't keep jumping to the last contents when
     unpacking.
    
    Removing ScrollToSelection(); when unpacking when "Show contents" is active,
    lets the contents list stay at the first line. A simple fix for #11027.
    ---
     src/apps/expander/ExpanderWindow.cpp | 1 -
     1 file changed, 1 deletion(-)
    
    diff --git a/src/apps/expander/ExpanderWindow.cpp b/src/apps/expander/ExpanderWindow.cpp
    index 63d2cda..6761973 100644
    a b ExpanderWindow::MessageReceived(BMessage* message)  
    379379
    380380                    fListingText->Insert(string.String());
    381381                }
    382                 fListingText->ScrollToSelection();
    383382            } else if (fExpandingStarted) {
    384383                BString string;
    385384                int32 i = 0;