Commit ed49e134 authored by Eike Ziller's avatar Eike Ziller
Browse files

Do not switch to design mode from search results

Change-Id: Iae10b8e10707cbc62bbd53109cbfb12ed1540536
Task-number: QTCREATORBUG-12028
Reviewed-by: default avatarRobert Loehning <>
Reviewed-by: default avatarEike Ziller <>
parent a6596a6c
......@@ -312,7 +312,8 @@ void BaseFileFind::openEditor(const Core::SearchResultItem &item)
if (item.path.size() > 0) {
openedEditor = EditorManager::openEditorAt(QDir::fromNativeSeparators(item.path.first()),
item.textMarkPos, Id(),
} else {
openedEditor = EditorManager::openEditor(QDir::fromNativeSeparators(item.text));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment