The mouse events were being stolen by the modal dialog, preventing the
combo box to update itself. Key events were being properly forwarded,
but this was probably due to the different way key events are being
delivered.
Change-Id: I5bfc4800fad9fd4122a212e6fdec13811a7e647b
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
} else {
[m_nsWindow orderFront: nil];
}
+
+ // We want the events to properly reach the popup
+ if (window()->windowType() == Qt::Popup)
+ [(NSPanel *)m_nsWindow setWorksWhenModal:YES];
}
}
} else {