Fix tab Metadati: file dialog non si apriva
I file filter di pywebview vogliono estensioni separate da ';' non da spazio. Cambiato 'Audio (*.mp3 *.m4a ...)' in 'Audio (*.mp3;*.m4a;...)'. Stesso fix per il dialog copertine. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
1 parent
946452ef03
commit
3dcbdfa489
1 file changed
+2
-2
+2
-2
@@ -248,13 +248,13 @@ class Api:
|
|||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
def pick_audio_file(self) -> str:
|
def pick_audio_file(self) -> str:
|
||||||
return self.browse_file([
|
return self.browse_file([
|
||||||
"Audio (*.mp3 *.m4a *.mp4 *.aac *.flac)",
|
"Audio (*.mp3;*.m4a;*.mp4;*.aac;*.flac)",
|
||||||
"All files (*.*)",
|
"All files (*.*)",
|
||||||
])
|
])
|
||||||
|
|
||||||
def pick_image_file(self) -> str:
|
def pick_image_file(self) -> str:
|
||||||
return self.browse_file([
|
return self.browse_file([
|
||||||
"Immagini (*.jpg *.jpeg *.png)",
|
"Immagini (*.jpg;*.jpeg;*.png)",
|
||||||
"All files (*.*)",
|
"All files (*.*)",
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user