• Andreas Krutzler's avatar
    Fix renamed file reclaims focus · bba44ae9
    Andreas Krutzler authored
    After renaming a file and then selecting another file immediately the just selected file stays selected.
    BUG: 388555
    Test Plan:
    Steps to reproduce:
    $ mkdir /tmp/test
    $ cd /tmp/test
    $ touch a.tmp b.tmp
    $ dolphin /tmp/test
    In dolphin:
    * select a.tmp
    * <F2>
    * type aaa
    * select b.tmp immediately
    Expected result:
    * a.tmp renamed to aaa.tmp
    * b.tmp stays selected, aaa.tmp stays unselected
    Reviewers: ngraham, michaelh, #dolphin, elvisangelaccio
    Reviewed By: ngraham, michaelh, #dolphin, elvisangelaccio
    Subscribers: emateli, elvisangelaccio, #dolphin
    Differential Revision: https://phabricator.kde.org/D9711
dolphinview.cpp 57.3 KB