mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
Make breakpoints available in the debug menu
This commit is contained in:
parent
ce22de5576
commit
8a8bfb1828
@ -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()
|
||||
|
@ -145,7 +145,6 @@
|
||||
<addaction name="actionSymbols"/>
|
||||
<addaction name="actionVTables"/>
|
||||
<addaction name="actionZignatures"/>
|
||||
<addaction name="actionBreakpoint"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuAddDebugWidgets">
|
||||
<property name="title">
|
||||
|
Loading…
Reference in New Issue
Block a user