mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 05:05:00 +00:00
optimize<PageTabBar>: do NOT restore tabs when app exited via closing the last tab
This commit is contained in:
parent
3f2948dd06
commit
21df028601
2 changed files with 14 additions and 13 deletions
|
@ -22,6 +22,7 @@ namespace SourceGit.Views {
|
|||
if (!restore.IsEnabled) return;
|
||||
|
||||
restore.Opened.Clear();
|
||||
restore.Actived = null;
|
||||
|
||||
foreach (var tab in tabs.Tabs) {
|
||||
if (tab.IsWelcomePage) continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue