Fix error spotted by Adrien: don't return Trash name for anonymous volumes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35127 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6abd81fcf0
commit
0e848e2d69
@ -335,6 +335,7 @@ Model::Name() const
|
||||
case kVolumeNode:
|
||||
if (fVolumeName)
|
||||
return fVolumeName;
|
||||
break;
|
||||
|
||||
case kTrashNode:
|
||||
return "Trash";
|
||||
|
Loading…
Reference in New Issue
Block a user