summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Riddell <jr@jriddell.org>2016-09-23 13:02:14 (GMT)
committerJonathan Riddell <jr@jriddell.org>2016-09-23 13:02:14 (GMT)
commit7547ff98ce575ba67713edbeaa1d77602eee092f (patch)
tree27b1c704717ddb97372d85c92dabc4372091272b
parentf263eae81511855f4a108cda27bacb6f65d2622f (diff)
definately hide unused widgets
-rw-r--r--samba/filepropertiesplugin/sambausershareplugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/samba/filepropertiesplugin/sambausershareplugin.cpp b/samba/filepropertiesplugin/sambausershareplugin.cpp
index 1fb4dc1..463674d 100644
--- a/samba/filepropertiesplugin/sambausershareplugin.cpp
+++ b/samba/filepropertiesplugin/sambausershareplugin.cpp
@@ -171,8 +171,10 @@ void SambaUserSharePlugin::packageFinished(PackageKit::Transaction::Exit status,
{
if (status == PackageKit::Transaction::ExitSuccess) {
m_installSambaWidgets->hide();
+ m_failedSambaWidgets->hide();
m_shareWidgets->show();
} else {
+ m_shareWidgets->hide();
m_installSambaWidgets->hide();
m_failedSambaWidgets->show();
}