mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 03:46:11 +00:00
Only enable emulation
This commit is contained in:
parent
c6e1d20907
commit
4424c3c45d
@ -134,15 +134,15 @@ void MainWindow::initUI()
|
||||
DebugToolbar *debugToolbar = new DebugToolbar(this);
|
||||
ui->mainToolBar->addWidget(debugToolbar);
|
||||
// Debug menu
|
||||
ui->menuDebug->addAction(debugToolbar->actionStart);
|
||||
// ui->menuDebug->addAction(debugToolbar->actionStart);
|
||||
ui->menuDebug->addAction(debugToolbar->actionStartEmul);
|
||||
ui->menuDebug->addAction(debugToolbar->actionAttach);
|
||||
// ui->menuDebug->addAction(debugToolbar->actionAttach);
|
||||
ui->menuDebug->addSeparator();
|
||||
ui->menuDebug->addAction(debugToolbar->actionStep);
|
||||
ui->menuDebug->addAction(debugToolbar->actionStepOver);
|
||||
ui->menuDebug->addSeparator();
|
||||
ui->menuDebug->addAction(debugToolbar->actionContinue);
|
||||
ui->menuDebug->addAction(debugToolbar->actionContinueUntilCall);
|
||||
// ui->menuDebug->addAction(debugToolbar->actionContinue);
|
||||
// ui->menuDebug->addAction(debugToolbar->actionContinueUntilCall);
|
||||
ui->menuDebug->addAction(debugToolbar->actionContinueUntilSyscall);
|
||||
|
||||
// Sepparator between undo/redo and goto lineEdit
|
||||
|
@ -43,10 +43,11 @@ DebugToolbar::DebugToolbar(MainWindow *main, QWidget *parent) :
|
||||
startButton->setPopupMode(QToolButton::MenuButtonPopup);
|
||||
connect(startButton, &QToolButton::triggered, startButton, &QToolButton::setDefaultAction);
|
||||
QMenu *startMenu = new QMenu;
|
||||
startMenu->addAction(actionStart);
|
||||
// startMenu->addAction(actionStart);
|
||||
startMenu->addAction(actionStartEmul);
|
||||
startMenu->addAction(actionAttach);
|
||||
startButton->setDefaultAction(actionStart);
|
||||
// startMenu->addAction(actionAttach);
|
||||
// startButton->setDefaultAction(actionStart);
|
||||
startButton->setDefaultAction(actionStartEmul);
|
||||
startButton->setMenu(startMenu);
|
||||
|
||||
QToolButton *continueUntilButton = new QToolButton;
|
||||
|
Loading…
Reference in New Issue
Block a user