mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
fix<Bookmark>: bookmark changes will not be saved when there's no welcome page
This commit is contained in:
parent
6e624797ae
commit
afe0220a46
4 changed files with 19 additions and 15 deletions
|
@ -103,12 +103,11 @@ namespace SourceGit.Models {
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// 设置仓库标签变化
|
||||
/// 通知仓库标签变化
|
||||
/// </summary>
|
||||
/// <param name="repo"></param>
|
||||
/// <param name="bookmark"></param>
|
||||
public static void SetBookmark(string repo, int bookmark) {
|
||||
BookmarkChanged?.Invoke(repo, bookmark);
|
||||
public static void NotifyBookmarkChanged(Repository repo) {
|
||||
BookmarkChanged?.Invoke(repo.Path, repo.Bookmark);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue