Skip to content

Commit a4a63ee

Browse files
committed
* Fixed file title settings not being applied properly
1 parent cbb142d commit a4a63ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

AniView/Windows/MainWindow.xaml.cs

+3
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ internal void LoadSettings()
140140
_autoSizeWindow = Properties.Settings.Default.AutoSizeWindow;
141141
_showFileTitle = Properties.Settings.Default.ShowFileTitle;
142142

143+
if (!_showFileTitle) Title = "AniView";
144+
if (_showFileTitle && !string.IsNullOrEmpty(_currentPath)) Title = "AniView - " + _currentPath;
145+
143146
if (Properties.Settings.Default.WindowDragging)
144147
{
145148
// Prevent duplicate handlers

0 commit comments

Comments
 (0)