forked from qt-creator/qt-creator
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 <orgads@gmail.com>
This commit is contained in:
@@ -766,7 +766,7 @@ void GitPlugin::startRebase()
|
|||||||
void GitPlugin::startChangeRelatedAction()
|
void GitPlugin::startChangeRelatedAction()
|
||||||
{
|
{
|
||||||
const VcsBase::VcsBasePluginState state = currentState();
|
const VcsBase::VcsBasePluginState state = currentState();
|
||||||
const QString workingDirectory = state.currentDirectoryOrTopLevel();
|
const QString workingDirectory = state.topLevel();
|
||||||
if (workingDirectory.isEmpty())
|
if (workingDirectory.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user