Commit 6f4f47c8 authored by Petar Perisin's avatar Petar Perisin

Git - topLeveldir in ChangeSelectionDialog

So ChangeSelectionDialog does not show full path of current file, but
just path to top level dir

Change-Id: I4960009216afc0564b009bbf4f89b676cb92c4df
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent b91462aa
......@@ -766,7 +766,7 @@ void GitPlugin::startRebase()
void GitPlugin::startChangeRelatedAction()
{
const VcsBase::VcsBasePluginState state = currentState();
const QString workingDirectory = state.currentDirectoryOrTopLevel();
const QString workingDirectory = state.topLevel();
if (workingDirectory.isEmpty())
return;
......
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