Skip to content

Commit

Permalink
7.3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stax76 committed Apr 2, 2022
1 parent 72f63bd commit 670e250
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Changelog.md
@@ -1,4 +1,8 @@

### 7.3.0.0

- Fix crash using relative media file paths.

### 7.2.0.0

- Next/Previous uses only known media file types as defined in the settings
Expand Down
6 changes: 5 additions & 1 deletion src/MainWindow.xaml.cs
Expand Up @@ -185,7 +185,11 @@ void LoadFile(string file)

SaveMenuItem.IsEnabled = true;
FolderMenuItem.IsEnabled = true;
PreviousMenuItem.IsEnabled = Directory.GetFiles(Path.GetDirectoryName(file)).Length > 1;
string folder = Path.GetDirectoryName(file);

if (Directory.Exists(folder))
PreviousMenuItem.IsEnabled = Directory.GetFiles(Path.GetDirectoryName(file)).Length > 1;

NextMenuItem.IsEnabled = PreviousMenuItem.IsEnabled;
SourcePath = file;
Title = file + " - " + AppHelp.ProductName + " " + WinForms.Application.ProductVersion;
Expand Down
4 changes: 2 additions & 2 deletions src/Properties/AssemblyInfo.cs
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("7.2.0.0")]
[assembly: AssemblyFileVersion("7.2.0.0")]
[assembly: AssemblyVersion("7.3.0.0")]
[assembly: AssemblyFileVersion("7.3.0.0")]

0 comments on commit 670e250

Please sign in to comment.