aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/AdminPanel/Module/Users.pm2
-rw-r--r--lib/AdminPanel/Shared/Users.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/AdminPanel/Module/Users.pm b/lib/AdminPanel/Module/Users.pm
index 96913b2..4e710b3 100644
--- a/lib/AdminPanel/Module/Users.pm
+++ b/lib/AdminPanel/Module/Users.pm
@@ -591,6 +591,8 @@ sub _deleteUserDialog {
eval { $self->ctx->CleanSpool($userEnt) };
$@ and $self->sh_gui->msgBox({text => $@}) and last;
}
+ #remove added icon
+ $self->sh_users->removeKdmIcon($username);
$self->_refresh();
last;
}
diff --git a/lib/AdminPanel/Shared/Users.pm b/lib/AdminPanel/Shared/Users.pm
index 8546952..8797e84 100644
--- a/lib/AdminPanel/Shared/Users.pm
+++ b/lib/AdminPanel/Shared/Users.pm
@@ -285,7 +285,7 @@ sub addKdmIcon {
=head3 INPUT
- $user: username to add
+ $user: username icon to remove
=head3 DESCRIPTION