alt text readded

This commit is contained in:
Keloran 2022-11-18 14:25:16 +00:00
parent d9cc995405
commit a2751cfcd6
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -250,6 +250,9 @@ const std::string UPower::getDeviceStatus(UpDeviceState& state) {
} }
bool UPower::handleToggle(GdkEventButton* const& event) { bool UPower::handleToggle(GdkEventButton* const& event) {
std::lock_guard<std::mutex> guard(m_Mutex);
showAltText = !showAltText;
dp.emit();
return AModule::handleToggle(event); return AModule::handleToggle(event);
} }