[Lazarus] Esc closes modal forms [Qt4]

Vojtěch Čihák vojtech.cihak at atlas.cz
Mon Apr 4 17:00:33 CEST 2016


Hi,
this is user-unfreindly issue in Qt4. When I open form as modal (ShowModal) and then I open any combobox there, I sometimes want to leave it without change by Escape key. It closes the combo but at the same time it closes the form. It does not happen in Gtk2 (i.e. I would have to press Esc twice there to reach the same effect). It happens in my app. as well as in Lazarus (compiled with Qt4, of course).
While closing modal forms with Esc is fine, this should be prevented somehow.
 
V.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160404/ed9ab03c/attachment-0002.html>


More information about the Lazarus mailing list