diff options
author | hjk <qtc-committer@nokia.com> | 2010-07-09 17:07:59 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-07-14 17:49:16 +0200 |
commit | e760700f0fea2f9a25cdbbbc1af52a446be4b183 (patch) | |
tree | 7a5ac650129e16119e1f076c27262311e4f22982 /src/plugins/debugger/registerwindow.cpp | |
parent | 6089bc1b9e046b9b1b36dc64ed7920467909ebe8 (diff) | |
download | qt-creator-e760700f0fea2f9a25cdbbbc1af52a446be4b183.tar.gz |
debugger: overhaul "state machine"
This mainly allows for more precise shutdown and tightens the set
of allowed transitions.
Diffstat (limited to 'src/plugins/debugger/registerwindow.cpp')
-rw-r--r-- | src/plugins/debugger/registerwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/registerwindow.cpp b/src/plugins/debugger/registerwindow.cpp index 62837c4c5c..849471fc7d 100644 --- a/src/plugins/debugger/registerwindow.cpp +++ b/src/plugins/debugger/registerwindow.cpp @@ -170,7 +170,7 @@ void RegisterWindow::contextMenuEvent(QContextMenuEvent *ev) QAction *actReload = menu.addAction(tr("Reload Register Listing")); actReload->setEnabled((engineCapabilities & RegisterCapability) - && (state == InferiorStopped || state == InferiorUnrunnable)); + && (state == InferiorStopOk || state == InferiorUnrunnable)); menu.addSeparator(); |