summaryrefslogtreecommitdiffstats
path: root/kioslave/media/mediamanager/medialist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/media/mediamanager/medialist.cpp')
-rw-r--r--kioslave/media/mediamanager/medialist.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kioslave/media/mediamanager/medialist.cpp b/kioslave/media/mediamanager/medialist.cpp
index bb0de6248..6ac7dc341 100644
--- a/kioslave/media/mediamanager/medialist.cpp
+++ b/kioslave/media/mediamanager/medialist.cpp
@@ -162,6 +162,8 @@ bool MediaList::changeMediumState(const Medium &medium, bool allowNotification)
m->setLabel( medium.label() );
}
+ m->setHidden(medium.hidden());
+
emit mediumStateChanged(m->id(), m->name(), !m->needMounting(), allowNotification);
return true;
}