From ee966448cee302c3540f221b53d772f315bcb75d Mon Sep 17 00:00:00 2001 From: emeric Date: Thu, 24 May 2018 13:39:46 +0200 Subject: [PATCH] Add a tooltip for each tag --- src/ui/LmsApplication.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/LmsApplication.cpp b/src/ui/LmsApplication.cpp index d847964b..1cc95977 100644 --- a/src/ui/LmsApplication.cpp +++ b/src/ui/LmsApplication.cpp @@ -184,6 +184,7 @@ LmsApplication::createCluster(Database::Cluster::pointer cluster, bool canDelete res->setCondition("if-can-delete", canDelete); res->setStyleClass("Lms-cluster"); + res->setToolTip(cluster->getType()->getName(), Wt::TextFormat::Plain); return res; }