mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-18 17:49:00 +00:00
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…
x
Reference in New Issue
Block a user