mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
removed ctrl+b and ctrl+n as shortcuts
This commit is contained in:
parent
1994e08689
commit
a0753f6393
2 changed files with 1 additions and 11 deletions
|
@ -25,7 +25,6 @@ OriginalDesktop.Desktop {
|
|||
|
||||
Action {
|
||||
text: "Open Browser"
|
||||
shortcut: "Ctrl+B"
|
||||
onTriggered: {
|
||||
console.log("Open browser");
|
||||
browserBuilder.createObject(desktop);
|
||||
|
|
|
@ -4303,10 +4303,7 @@ void Application::keyPressEvent(QKeyEvent* event) {
|
|||
break;
|
||||
|
||||
case Qt::Key_B:
|
||||
if (isMeta) {
|
||||
auto offscreenUi = getOffscreenUI();
|
||||
offscreenUi->load("Browser.qml");
|
||||
} else if (isOption) {
|
||||
if (isOption) {
|
||||
controller::InputRecorder* inputRecorder = controller::InputRecorder::getInstance();
|
||||
inputRecorder->stopPlayback();
|
||||
}
|
||||
|
@ -4345,12 +4342,6 @@ void Application::keyPressEvent(QKeyEvent* event) {
|
|||
}
|
||||
break;
|
||||
|
||||
case Qt::Key_N:
|
||||
if (!isOption && !isShifted && isMeta) {
|
||||
DependencyManager::get<NodeList>()->toggleIgnoreRadius();
|
||||
}
|
||||
break;
|
||||
|
||||
case Qt::Key_S:
|
||||
if (isShifted && isMeta && !isOption) {
|
||||
Menu::getInstance()->triggerOption(MenuOption::SuppressShortTimings);
|
||||
|
|
Loading…
Reference in a new issue