Moved debugger reset counter to menu instead of pushbutton on window.

This commit is contained in:
mjbudd77 2021-07-01 21:17:06 -04:00
parent 77a4e610fb
commit 117bfd0223
1 changed files with 9 additions and 0 deletions

View File

@ -235,6 +235,15 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
debugMenu->addAction(act);
// Debug -> Reset Counters
act = new QAction(tr("Reset &Counters"), this);
//act->setShortcut(QKeySequence( tr("F7") ) );
act->setStatusTip(tr("Reset Counters"));
act->setCheckable(false);
connect( act, SIGNAL(triggered(void)), this, SLOT(resetCountersCB(void)) );
debugMenu->addAction(act);
// Options
optMenu = menuBar->addMenu(tr("&Options"));