From 996dbc7055369ad84748fd093e2321c0a4c91b21 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Sat, 4 May 2024 21:58:02 +0800 Subject: [PATCH] change shortcuts --- RedPandaIDE/mainwindow.cpp | 1 + RedPandaIDE/mainwindow.ui | 12 +++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/RedPandaIDE/mainwindow.cpp b/RedPandaIDE/mainwindow.cpp index 95d2c2ad..9fff5e34 100644 --- a/RedPandaIDE/mainwindow.cpp +++ b/RedPandaIDE/mainwindow.cpp @@ -5185,6 +5185,7 @@ void MainWindow::onEditorContextMenu(const QPoint& pos) menu.addAction(ui->actionAdd_Watch); menu.addAction(ui->actionAdd_Watchpoint); menu.addAction(ui->actionToggle_Breakpoint); + menu.addAction(ui->actionBreakpoint_property); menu.addAction(ui->actionClear_all_breakpoints); menu.addSeparator(); } diff --git a/RedPandaIDE/mainwindow.ui b/RedPandaIDE/mainwindow.ui index 03365a58..586f2724 100644 --- a/RedPandaIDE/mainwindow.ui +++ b/RedPandaIDE/mainwindow.ui @@ -6,7 +6,7 @@ 0 0 - 936 + 1935 619 @@ -2542,7 +2542,7 @@ Goto Declaration - Ctrl+Shift+G + Ctrl+J @@ -2550,7 +2550,7 @@ Goto Definition - Ctrl+G + Ctrl+Shift+J @@ -3016,6 +3016,9 @@ Go to Line... + + Ctrl+G + @@ -3066,6 +3069,9 @@ Toggle Readonly + + Ctrl+Shift+R +