diff --git a/source/RobotAPI/libraries/skills_gui/StatusLabel.cpp b/source/RobotAPI/libraries/skills_gui/StatusLabel.cpp index 6affe9671a0b8d85c234503263c500ba3a492d46..61b2aef2cc55a5eb00264dac9d2a88d59f501cf5 100644 --- a/source/RobotAPI/libraries/skills_gui/StatusLabel.cpp +++ b/source/RobotAPI/libraries/skills_gui/StatusLabel.cpp @@ -8,7 +8,7 @@ namespace armarx::skills::gui StatusLabel::StatusLabel() { this->label = new QLabel(""); - this->resetButton = new QPushButton("Reset"); + this->resetButton = new QPushButton("Clear"); this->setupUi(); } @@ -16,12 +16,14 @@ namespace armarx::skills::gui StatusLabel::handleMessage(const std::string& message) { this->label->setText(QString::fromStdString(message)); + this->resetButton->setHidden(false); } void StatusLabel::resetLabel() { this->label->setText(QString::fromStdString("")); + this->resetButton->setHidden(true); } void