Skip to content

Commit 6e09306

Browse files
committed
Minor convert button fix
- Converter won't start if config.path is empty
1 parent 6956240 commit 6e09306

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PhotoModeApp/Views/Pages/DashboardPage.xaml.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ private async Task<int> ProcessPicturesAsync(IProgress<int> progress)
105105

106106
private async void ConvertButton_Click(object sender, System.Windows.RoutedEventArgs e)
107107
{
108+
if (Helpers.Config.GetPath().Length > 0) return;
109+
108110
totalNumberOfFiles = Helpers.Win32Files.GetFileCount(Helpers.Config.GetPath(), true);
109111

110112
if (totalNumberOfFiles < 1)

0 commit comments

Comments
 (0)