]> cloud.milkyroute.net Git - dolphin.git/commit
Fix missing update of file name label in information panel without preview
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Thu, 18 Apr 2019 12:37:09 +0000 (14:37 +0200)
committerStefan Brüns <stefan.bruens@rwth-aachen.de>
Thu, 18 Apr 2019 13:45:00 +0000 (15:45 +0200)
commite26e823909f3d7ef412586b17c171f3c62ec2516
treedd3856b79aa3694faed1931dc9275c2d57ca941a
parent05a4d27813e302a2f7e8f713b26d55116e6c98c3
Fix missing update of file name label in information panel without preview

Summary:
The file name label was only updated when the preview was shown, after
the function was moved into a conditional section. This is a regression
caused by commit 405aa4878f75 ("[InformationPanel] Hide the video when the
preview is disabled, avoid computing the preview when it is disabled").

Test Plan:
Hide the preview in dolphin's information panel
Hover different files, the name label reflects the hovered file again

Reviewers: #dolphin, elvisangelaccio, meven, ngraham

Reviewed By: meven

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20660
src/panels/information/informationpanelcontent.cpp