diff --git a/src/core/MainWindow.cpp b/src/core/MainWindow.cpp index e5e79a80..38c5cb14 100644 --- a/src/core/MainWindow.cpp +++ b/src/core/MainWindow.cpp @@ -1208,7 +1208,12 @@ void MainWindow::showDebugDocks() void MainWindow::enableDebugWidgetsMenu(bool enable) { - ui->menuAddDebugWidgets->setEnabled(enable); + for (QAction *action : ui->menuAddDebugWidgets->actions()) { + // The breakpoints menu should be available outside of debug + if (!action->text().contains("Breakpoints")) { + action->setEnabled(enable); + } + } } void MainWindow::resetToDefaultLayout() diff --git a/src/core/MainWindow.ui b/src/core/MainWindow.ui index 48891d7d..9b181c0c 100644 --- a/src/core/MainWindow.ui +++ b/src/core/MainWindow.ui @@ -145,7 +145,6 @@ -