Commit 3a7ce4c3 authored by Oleg Solovyov's avatar Oleg Solovyov 🐴
Browse files

Clear alwaysActionBox before filling

BUG: 443114
parent 52f44e41
......@@ -92,6 +92,7 @@ void ActivityWidget::load()
using namespace PowerDevil::BundledActions;
m_ui->alwaysActionBox->clear();
if (PowerDevil::PowerManagement::instance()->canSuspend()) {
m_ui->alwaysActionBox->addItem(QIcon::fromTheme("system-suspend"),
i18nc("Suspend to RAM", "Sleep"), (uint)SuspendSession::ToRamMode);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment