mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +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);
|
DebugToolbar *debugToolbar = new DebugToolbar(this);
|
||||||
ui->mainToolBar->addWidget(debugToolbar);
|
ui->mainToolBar->addWidget(debugToolbar);
|
||||||
// Debug menu
|
// Debug menu
|
||||||
ui->menuDebug->addAction(debugToolbar->actionStart);
|
// ui->menuDebug->addAction(debugToolbar->actionStart);
|
||||||
ui->menuDebug->addAction(debugToolbar->actionStartEmul);
|
ui->menuDebug->addAction(debugToolbar->actionStartEmul);
|
||||||
ui->menuDebug->addAction(debugToolbar->actionAttach);
|
// ui->menuDebug->addAction(debugToolbar->actionAttach);
|
||||||
ui->menuDebug->addSeparator();
|
ui->menuDebug->addSeparator();
|
||||||
ui->menuDebug->addAction(debugToolbar->actionStep);
|
ui->menuDebug->addAction(debugToolbar->actionStep);
|
||||||
ui->menuDebug->addAction(debugToolbar->actionStepOver);
|
ui->menuDebug->addAction(debugToolbar->actionStepOver);
|
||||||
ui->menuDebug->addSeparator();
|
ui->menuDebug->addSeparator();
|
||||||
ui->menuDebug->addAction(debugToolbar->actionContinue);
|
// ui->menuDebug->addAction(debugToolbar->actionContinue);
|
||||||
ui->menuDebug->addAction(debugToolbar->actionContinueUntilCall);
|
// ui->menuDebug->addAction(debugToolbar->actionContinueUntilCall);
|
||||||
ui->menuDebug->addAction(debugToolbar->actionContinueUntilSyscall);
|
ui->menuDebug->addAction(debugToolbar->actionContinueUntilSyscall);
|
||||||
|
|
||||||
// Sepparator between undo/redo and goto lineEdit
|
// Sepparator between undo/redo and goto lineEdit
|
||||||
|
@ -43,10 +43,11 @@ DebugToolbar::DebugToolbar(MainWindow *main, QWidget *parent) :
|
|||||||
startButton->setPopupMode(QToolButton::MenuButtonPopup);
|
startButton->setPopupMode(QToolButton::MenuButtonPopup);
|
||||||
connect(startButton, &QToolButton::triggered, startButton, &QToolButton::setDefaultAction);
|
connect(startButton, &QToolButton::triggered, startButton, &QToolButton::setDefaultAction);
|
||||||
QMenu *startMenu = new QMenu;
|
QMenu *startMenu = new QMenu;
|
||||||
startMenu->addAction(actionStart);
|
// startMenu->addAction(actionStart);
|
||||||
startMenu->addAction(actionStartEmul);
|
startMenu->addAction(actionStartEmul);
|
||||||
startMenu->addAction(actionAttach);
|
// startMenu->addAction(actionAttach);
|
||||||
startButton->setDefaultAction(actionStart);
|
// startButton->setDefaultAction(actionStart);
|
||||||
|
startButton->setDefaultAction(actionStartEmul);
|
||||||
startButton->setMenu(startMenu);
|
startButton->setMenu(startMenu);
|
||||||
|
|
||||||
QToolButton *continueUntilButton = new QToolButton;
|
QToolButton *continueUntilButton = new QToolButton;
|
||||||
|
Loading…
Reference in New Issue
Block a user