Commit ca5d52fe authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Git: Open untracked files on double-click

Task-number: QTCREATORBUG-6612
Change-Id: Ic56f4cd20063c9d4d05316607636aa3df1d1a5a3
Reviewed-by: default avatarAndré Hartmann <>
Reviewed-by: default avatarTobias Hunger <>
parent ae09c33f
......@@ -153,7 +153,9 @@ void GitSubmitEditor::slotDiffSelected(const QList<int> &rows)
else if (state & StagedFile)
else if (state != UntrackedFile)
else if (state == UntrackedFile)
Core::EditorManager::openEditor(m_workingDirectory + QLatin1Char('/') + fileName);
if (!unstagedFiles.empty() || !stagedFiles.empty())
Supports Markdown
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