4 Commits

4 changed files with 16 additions and 1 deletions

3
.gitignore vendored
View File

@@ -48,3 +48,6 @@ cool-retro-term
.DS_Store
*.app
# IntelliJ
.idea

View File

@@ -746,7 +746,7 @@ QtObject {
loadCustomProfiles()
var profileArgPosition = args.indexOf(/-p|--profile/)
var profileArgPosition = args.indexOf("--profile")
if (profileArgPosition !== -1) {
var profileIndex = getProfileIndexByName(
args[profileArgPosition + 1])

View File

@@ -58,6 +58,13 @@ Item{
kterminal.pasteClipboard()
}
}
Connections {
target: pasteActionAlt
onTriggered: {
kterminal.pasteSelection()
}
}
//When settings are updated sources need to be redrawn.
Connections {

View File

@@ -116,6 +116,11 @@ ApplicationWindow {
text: qsTr("Paste")
shortcut: "Ctrl+Shift+V"
}
Action {
id: pasteActionAlt
text: qsTr("Paste selection")
shortcut: "Shift+Insert"
}
Action {
id: zoomIn
text: qsTr("Zoom In")