Clock. Proper handletoggle propagation

Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
This commit is contained in:
Viktar Lukashonak 2023-01-25 16:56:45 +03:00
parent dd9e3d0172
commit f3f0b008c6
No known key found for this signature in database
GPG Key ID: 08A413AA87200A6F

View File

@ -216,7 +216,7 @@ bool waybar::modules::Clock::handleToggle(GdkEventButton* const& e) {
if (callMethod) { if (callMethod) {
(this->*callMethod)(); (this->*callMethod)();
} else } else
return AModule::handleToggle(e); return ALabel::handleToggle(e);
update(); update();
return true; return true;