Git: Update status on upstream change in branch view

When a new tracking branch was selected, the
branch view  still showed the old ahead/behind
information.

Change-Id: Ic4a201da0ec38788a02ef03770a30cca6528ceb3
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Andre Hartmann
2019-12-26 18:14:04 +01:00
committed by André Hartmann
parent acd1d6c438
commit 4c5cf6bc86
2 changed files with 18 additions and 11 deletions

View File

@@ -92,6 +92,7 @@ private:
BranchNode *indexToNode(const QModelIndex &index) const;
QModelIndex nodeToIndex(BranchNode *node, int column) const;
void removeNode(const QModelIndex &idx);
void updateUpstreamStatus(BranchNode *node);
QString toolTip(const QString &sha) const;