Skip to content
Snippets Groups Projects
Commit 5b75af80 authored by Daniel Teske's avatar Daniel Teske
Browse files

AppOutputPane: Fix wrong assert


This can actually happen and is not a problem

Task-number: QTCREATORBUG-12871
Change-Id: I0bcca39f160362a5c67cfceaefa5dd9d58d69b55
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 7b73ff7f
No related branches found
No related tags found
No related merge requests found
......@@ -605,7 +605,9 @@ void AppOutputPane::slotRunControlFinished2(RunControl *sender)
{
const int senderIndex = indexOf(sender);
QTC_ASSERT(senderIndex != -1, return);
// This slot is queued, so the stop() call in closeTab might lead to this slot, after closeTab already cleaned up
if (senderIndex == -1)
return;
// Enable buttons for current
RunControl *current = currentRunControl();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment