Commit 47ccc074 authored by Martin Flöser's avatar Martin Flöser
Browse files

Do not activate InvertEffect per window if there is no active window

BUG: 314593
FIXED-IN: 4.10.1
REVIEW: 108828
parent 022862e5
......@@ -146,6 +146,9 @@ void InvertEffect::toggleScreenInversion()
void InvertEffect::toggleWindow()
if (!effects->activeWindow()) {
if (!m_windows.contains(effects->activeWindow()))
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