Commit daf5ff8c authored by Daniel Teske's avatar Daniel Teske

Welcome Screen: Show clone Session also for the default session

Task-number: QTCREATORBUG-10906
Change-Id: I9a3143eecf663085988eaff0fc3d34bd653f9c0a
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent eda0d291
......@@ -174,7 +174,6 @@ Item {
x: 6
width: parent.width -12
spacing: 4
visible: !defaultSession
Image { source: "images/icons/clone.png" }
LinkedText {
......@@ -184,18 +183,34 @@ Item {
}
}
Text { width: 16; text: " "; }
Image { source: "images/icons/rename.png" }
Text {
visible: !defaultSession
width: 16;
text: " ";
}
Image {
visible: !defaultSession
source: "images/icons/rename.png"
}
LinkedText {
visible: !defaultSession
text: qsTr("Rename")
onClicked: {
root.model.renameSession(sessionName);
}
}
Text { width: 16; text: " "; visible: y === 0}
Image { source: "images/icons/delete.png" }
Text {
visible: y === 0 && !defaultSession
width: 16;
text: " ";
}
Image {
visible: !defaultSession
source: "images/icons/delete.png"
}
LinkedText {
visible: !defaultSession
text: qsTr("Delete")
onClicked: {
root.model.deleteSession(sessionName);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment