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
cfeck | |
chinmoyr |
Dolphin |
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
Disable inline renaming and try to rename single or multiple items (and also to undo the jobs).
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
m_renamedItems is emitted in renamingFinished(). I haven't checked carefully, but is m_renamedItems correct for the single file rename?
No, it's not. But it seems to be a pre-existing bug (already in 478f404b8a), as renamingFinished() was being emitted only in the multi-rename case.
and is m_renamedItems cleared anywhere before or after renaming?
EDIT: only needed if the RenameDialog instance is reused for multiple renames.
Okey. Let's commit it for the RC, and if anything comes up later, we can make changes for the final.
Thanks for the prompt fix!