Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.2.0, 5.3.0 RC1
-
None
-
Linux / Ubuntu 64
Ubuntu 13.10
-
a5669568904b37b1d6b297e7190d18306e198604 f60911ca0d492c3868f7feb71d1de63f111d6cd6
Description
MessageDialog is triggering signals twice
import QtQuick 2.2
import QtQuick.Dialogs 1.1
.....
MessageDialog {
id: id_dialogDelete
title: qsTr("Warning");
icon: StandardIcon.Warning
text: qsTr("Are you sure?")
standardButtons: StandardButton.Yes | StandardButton.No
Component.onCompleted: visible = true
onYes:
{ console.log("DELETE") }}
Triggers yes() signal two times and the result is:
DELETE
DELETE
Attachments
Issue Links
- is required for
-
QTBUG-35562 Issues to be fixed in Qt 5.2.1
- Closed
- relates to
-
QTBUG-40613 Dialog is triggering handler twice
- Closed
For Gerrit Dashboard: QTBUG-35933 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
75831,3 | Remove redundant button clicked handler in QQuickMessageBox | release | qt/qtdeclarative | Status: MERGED | +2 | 0 |
85394,2 | Remove redundant button clicked handler in QQuickMessageBox | release | qt/qtquickcontrols | Status: MERGED | +2 | 0 |