Skip to content
Commit ea40ade8 authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Fix "fileActions.currentFile" not set before using it



When an empty area of a file row was clicked and the "Details" action
was executed "fileActions.currentFile" was not guaranteed to be set to
the appropriate object (it depended on the previous actions of the
user), so when it was used by "getCurrentMimeType()" and other
FileActions functions they may not work as expected. Now it is
explicitly set to the appropriate value before its use.

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent e37fa607
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment