Skip to content

Commit 671fabf

Browse files
committed
Merge branch 'main' into cpu-usage-fix
2 parents 9e3482c + f03eb8f commit 671fabf

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/UniGetUI/MainWindow.xaml.cs

+14
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,20 @@ private void ClearSubtitle()
167167
Title = "UniGetUI";
168168
}
169169

170+
private void AddToSubtitle(string line)
171+
{
172+
if (AppSubTitle.Text.Length > 0)
173+
AppSubTitle.Text += " - ";
174+
AppSubTitle.Text += line;
175+
Title = "UniGetUI - " + AppSubTitle.Text;
176+
}
177+
178+
private void ClearSubtitle()
179+
{
180+
AppSubTitle.Text = "";
181+
Title = "UniGetUI";
182+
}
183+
170184
private static void TransferOldSettingsFormats()
171185
{
172186
foreach (IPackageManager Manager in PEInterface.Managers)

0 commit comments

Comments
 (0)