]> cloud.milkyroute.net Git - dolphin.git/commit
[RenameDialog] Fix crash when renaming single items
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Thu, 5 Apr 2018 20:33:34 +0000 (22:33 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Thu, 5 Apr 2018 21:15:50 +0000 (23:15 +0200)
commit30349ef1bdcae0ed80f47c168d46c15020b927d3
treecdd3fdaf1697ef9bf5068c02dec099cada37cc6a
parent386a862de4e67a44afa74f9ac66fba5c8b7abd38
[RenameDialog] Fix crash when renaming single items

Summary:
`m_spinBox` is initialized only when renaming multiple items.

This commit restores the single-item rename logic which was wrongly
removed by commit c5eb4e31161ccf422.

BUG: 392743
FIXED-IN: 18.03.90

Test Plan: Disable inline renaming and try to rename single or multiple items (and also to undo the jobs).

Subscribers: #dolphin

Differential Revision: https://phabricator.kde.org/D11972
src/views/renamedialog.cpp