Skip to content

Commit

Permalink
Reworked the dialog for resuming broken workouts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Drescher committed Sep 26, 2017
1 parent 0f7d7e6 commit 6c6d75c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions qml/pages/MainPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -361,14 +361,16 @@ Page
}
Component
{
id: id_Dialog_Autosave
id: id_Dialog_Autosave

Dialog
{
width: parent.width
canAccept: true
acceptDestination: mainPage
acceptDestinationAction: PageStackAction.Pop


Flickable
{
width: parent.width
Expand All @@ -379,11 +381,10 @@ Page
{
width: parent.width

DialogHeader { title: qsTr("Uncompleted workout found!") }

Label
DialogHeader
{
text: qsTr("Accept - resume workout\r\nCancel - delete workout")
title: qsTr("Uncompleted workout found!")
defaultAcceptText: qsTr("Resume")
}
}
}
Expand Down

0 comments on commit 6c6d75c

Please sign in to comment.