Debugger: Fix crash toggling Stack/"Derefence Pointers" without project

Enable debugger actions correctly.
Reviewed-by: hjk <qtc-committer@nokia.com>
This commit is contained in:
Friedemann Kleint
2009-10-07 13:36:48 +02:00
parent e2e9c77323
commit 1fb8f60e03
9 changed files with 62 additions and 10 deletions

View File

@@ -177,6 +177,7 @@ void RegisterWindow::contextMenuEvent(QContextMenuEvent *ev)
} else {
actShowMemory->setText(tr("Open memory editor at %1").arg(address));
}
actShowMemory->setEnabled(m_manager->debuggerActionsEnabled());
menu.addSeparator();
int base = model()->data(QModelIndex(), RegisterNumberBaseRole).toInt();