diff options
author | Andre Hartmann <aha_1980@gmx.de> | 2019-12-27 11:52:59 +0100 |
---|---|---|
committer | André Hartmann <aha_1980@gmx.de> | 2019-12-27 11:51:45 +0000 |
commit | da6972e0a93654b4c3ce8886e854d8ffaa8688d9 (patch) | |
tree | 62693fa8a177b1d4a997ea6e4b01353a076bfda6 /src/plugins/git/branchmodel.h | |
parent | d29650b3eac3b171b790f05f89578a791f9bd7d2 (diff) |
Git: Update current branch after some operations
... to refresh the branch view upstream status.
No need for a full model update here, only the current
branch is influenced.
Change-Id: I6bd17a841988b36221e5015a5858071d33a7b5e5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/git/branchmodel.h')
-rw-r--r-- | src/plugins/git/branchmodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/git/branchmodel.h b/src/plugins/git/branchmodel.h index 7a2fa28512..61409aef67 100644 --- a/src/plugins/git/branchmodel.h +++ b/src/plugins/git/branchmodel.h @@ -86,6 +86,7 @@ public: void setRemoteTracking(const QModelIndex &trackingIndex); void setOldBranchesIncluded(bool value); Utils::optional<QString> remoteName(const QModelIndex &idx) const; + void refreshCurrentBranch(); private: void setCurrentBranch(); |