Fix final progress save

This commit is contained in:
Jan Hamal Dvořák 2025-03-15 22:06:30 +01:00
parent 32584313b0
commit 1b75a2527a

View file

@ -424,7 +424,7 @@ class MainWindow(Gtk.ApplicationWindow, Watcher):
if not self.player.is_playing:
return
file_item = self.selection
file_item = self.player.file_item.value
if file_item is None or file_item.file_type == FileType.DIRECTORY:
return