]> cloud.milkyroute.net Git - dolphin.git/commit
Fix renamed file reclaims focus
authorAndreas Krutzler <andi.krutzler@gmail.com>
Sun, 21 Jan 2018 20:39:41 +0000 (13:39 -0700)
committerNathaniel Graham <pointedstick@zoho.com>
Sun, 21 Jan 2018 20:43:30 +0000 (13:43 -0700)
commitbba44ae907b4faaf115d33fb0a3c50cd96ee2cb6
tree5d7535e05c05011144b1274f0ae057d8c5839987
parent6cf74d2fdd36c5322c2db3278aea9c9d47b77889
Fix renamed file reclaims focus

Summary:
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
src/views/dolphinview.cpp