mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-09-11 02:35:41 +03:00
Select "Uncommitted changes" after "Pop Stash"
This commit is contained in:
parent
659776f938
commit
1cb74d17e1
@ -2141,10 +2141,8 @@ void RepoView::popStash(int index) {
|
||||
error(entry, tr("pop stash"), commit.link());
|
||||
return;
|
||||
}
|
||||
if (mRepo.stashes().size() == 0) {
|
||||
// switch back to head when there are no stashes left
|
||||
mCommits->setReference(mRepo.head());
|
||||
}
|
||||
// switch back to head
|
||||
selectReference(mRepo.head());
|
||||
}
|
||||
|
||||
void RepoView::promptToAddTag(const git::Commit &commit) {
|
||||
|
Loading…
Reference in New Issue
Block a user