Debugger: Fix cdb switching back from stopper thread

Amends 9f9c72302f.

Change-Id: If97ca13de30fa4d24deddd58177f55e2c71010a8
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2018-08-30 12:30:52 +02:00
parent b23bb73bee
commit 0c58248894
2 changed files with 4 additions and 3 deletions

View File

@@ -285,6 +285,7 @@ Thread ThreadsHandler::currentThread() const
void ThreadsHandler::setCurrentThread(const Thread &thread)
{
QTC_ASSERT(thread, return);
if (thread == m_currentThread)
return;