Commit 683566ce authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

On MacOSX don't emit configureRequest upon contextMenuEvent

When opening the Scrollback or Edit Profile via the context menu,
the context menu will re-appear along w/ the dialog.

related 33be288c commit
parent 8412c8c2
......@@ -2697,7 +2697,11 @@ bool TerminalDisplay::event(QEvent* event)
void TerminalDisplay::contextMenuEvent(QContextMenuEvent* )
{
// FIXME: On Mac OSX opening some dialogs cause the context menu to
// get displayed. Example: Scrollback dialog via context menu.
#if !defined(Q_OS_MAC)
emit configureRequest(mapFromGlobal(QCursor::pos()));
#endif
}
/* --------------------------------------------------------------------- */
......
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