Skip to content
Snippets Groups Projects
Commit b5601105 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Fixed crash when trying to activate a no longer existing editor

This could happen when using Ctrl+Tab to switch editors, and while
holding Ctrl you close an editor with Ctrl+W, and then you try to select
it.

Since the crash was due to an assertion, we can just avoid it by doing
nothing when no editor for the given file is found.

Reviewed-by: mae
Task-number: QTCREATOR-190
parent 16ff6ac7
No related branches found
No related tags found
Loading
Loading
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