mirror of
https://github.com/QRouland/UTPass.git
synced 2026-01-11 03:46:58 +00:00
Fix style command
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
import QtQuick 2.4
|
||||
import Lomiri.Components 1.3
|
||||
import Lomiri.Components.Popups 1.3
|
||||
import QtQuick 2.4
|
||||
|
||||
Dialog {
|
||||
id: doubleValidationDialog
|
||||
|
||||
property string text
|
||||
|
||||
signal validated
|
||||
signal canceled
|
||||
signal validated()
|
||||
signal canceled()
|
||||
|
||||
Text {
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
@@ -18,20 +18,21 @@ Dialog {
|
||||
Button {
|
||||
text: i18n.tr("Ok")
|
||||
color: LomiriColors.green
|
||||
|
||||
onClicked: {
|
||||
validated()
|
||||
PopupUtils.close(doubleValidationDialog)
|
||||
validated();
|
||||
PopupUtils.close(doubleValidationDialog);
|
||||
}
|
||||
}
|
||||
|
||||
Button {
|
||||
id: cancelButton
|
||||
|
||||
text: i18n.tr("Cancel")
|
||||
color: LomiriColors.red
|
||||
onClicked: {
|
||||
canceled()
|
||||
PopupUtils.close(doubleValidationDialog)
|
||||
canceled();
|
||||
PopupUtils.close(doubleValidationDialog);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user