Commit 28883006 authored by Janet Blackquill's avatar Janet Blackquill 🌈 Committed by Nate Graham
Browse files

libtaskmanager: recompute active task when a task is removed

This fixes a bug in the appmenu where when you close the last open window
on a display, the appmenu doesn't get a signal that there's no longer
an active task, and continues to display a now-dead menubar instead of
clearing it.

(cherry picked from commit 463c6c2f)
parent 02dcde9a
Pipeline #151057 passed with stage
in 16 minutes and 7 seconds
......@@ -166,6 +166,9 @@ void TasksModel::Private::initModels()
// the active task may have potentially changed, so signal that so that users
// will recompute it
Q_EMIT q->activeTaskChanged();
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