feat: add processing CTRL + W to Browser
This commit is contained in:
parent
655097e2a2
commit
9dc51b82fd
|
@ -362,6 +362,13 @@ Rectangle {
|
|||
browserHeader.addressBar.selectAll();
|
||||
}
|
||||
|
||||
Action {
|
||||
shortcut: "Ctrl+W"
|
||||
onTriggered: {
|
||||
tabs.removeView(tabs.currentIndex)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Action {
|
||||
shortcut: StandardKey.Close
|
||||
|
|
|
@ -71,6 +71,7 @@ ApplicationWindow {
|
|||
|
||||
Action {
|
||||
shortcut: "Ctrl+W"
|
||||
enabled: loader.item.currentView !== Utils.getAppSectionIndex(Constants.browser)
|
||||
onTriggered: {
|
||||
applicationWindow.visible = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue