Is a BUG? Qt.Key_Tab in Keys.onPressed Triggered twice
-
code here:
@
import QtQuick 1.0Rectangle {
width: 360
height: 360focus: true Keys.onPressed: { if (event.key == Qt.Key_Tab) { console.log("pressed!"); // Triggered twice } //event.accepted = true; }
}
@
if use other key, then only trigger once
if accepted = true , then trigger once
but , this is a bug?
-
Hi,
It certainly looks like a bug -- I'd suggest filing a bugreport at https://bugreports.qt.nokia.com/ .
Regards,
Michael -
Thanks Michael