Commit 54e8c592 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix 'Cancel transaction edit dialog gives wrong options ...'

... when you click on something other than another transaction.

This commit enables the "continue" button in those cases.
If the user wants to continue the transaction edit, cancels
the event in MousePressFilter::eventFilter by returning true.

BUG:243612
FIXED-IN:4.8.2
parent 94cfceb7
......@@ -169,8 +169,10 @@ bool MousePressFilter::eventFilter(QObject* o, QEvent* e)
}
if (it_w == m_parents.constEnd()) {
m_lastMousePressEvent = e;
bool rc = false;
bool rc = true;
emit mousePressedOnExternalWidget(rc);
qDebug() << rc;
return !rc;
}
}
......
Markdown is supported
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