summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/mediamanager/medialist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave/media/mediamanager/medialist.cpp')
-rw-r--r--tdeioslave/media/mediamanager/medialist.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tdeioslave/media/mediamanager/medialist.cpp b/tdeioslave/media/mediamanager/medialist.cpp
index b2dd84c60..8ea9aec50 100644
--- a/tdeioslave/media/mediamanager/medialist.cpp
+++ b/tdeioslave/media/mediamanager/medialist.cpp
@@ -132,6 +132,8 @@ bool MediaList::changeMediumState(const Medium &medium, bool allowNotification)
Medium *m = m_idMap[medium.id()];
+ m->setEncrypted(medium.isEncrypted());
+ m->setLocked(medium.isLocked());
m->setMountable(medium.isMountable());
if (medium.isMountable())
{