From d7e95ba1d6c4b5f0d92c856d419f6cf84f254cc2 Mon Sep 17 00:00:00 2001 From: EricGoldsteinNz Date: Sat, 23 Sep 2023 20:36:36 +1200 Subject: [PATCH] Add local music bug fix --- build.bat | 2 +- dialogs/MusicConfirmDialog.py | 2 +- versioninfo | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.bat b/build.bat index 248f998..ef411f7 100644 --- a/build.bat +++ b/build.bat @@ -1,5 +1,5 @@ @echo off -set ver=0.4.1 +set ver=0.4.2 rem build script for the distributable versions of tadpole if not exist "venv\" ( py -m venv venv diff --git a/dialogs/MusicConfirmDialog.py b/dialogs/MusicConfirmDialog.py index 380672a..1a3f57a 100644 --- a/dialogs/MusicConfirmDialog.py +++ b/dialogs/MusicConfirmDialog.py @@ -141,6 +141,6 @@ def load_from_file(self) -> bool: self.music_name = os.path.split(file_name)[-1] self.label_confirm.setText("

Change Background Music

{}".format(self.music_name)) self.button_play.setEnabled(True) - self.toggle_audio(self) + self.toggle_audio() return True return False \ No newline at end of file diff --git a/versioninfo b/versioninfo index 7474766..0c708c7 100644 --- a/versioninfo +++ b/versioninfo @@ -1,7 +1,7 @@ VSVersionInfo( ffi=FixedFileInfo( - filevers=(0, 4, 1, 0), - prodvers=(0, 4, 1, 0), + filevers=(0, 4, 2, 0), + prodvers=(0, 4, 2, 0), mask=0x3f, flags=0x0, OS=0x4, @@ -15,12 +15,12 @@ VSVersionInfo( u'080904B0', [StringStruct(u'CompanyName', u'EricGoldstein'), StringStruct(u'FileDescription', u'tadpole'), - StringStruct(u'FileVersion', u'0.4.1'), + StringStruct(u'FileVersion', u'0.4.2'), StringStruct(u'InternalName', u'tadpole'), StringStruct(u'LegalCopyright', u'by EricGoldstein 2023'), StringStruct(u'OriginalFilename', u'tadpole.exe'), StringStruct(u'ProductName', u'tadpole'), - StringStruct(u'ProductVersion', u'0.4.1')]) + StringStruct(u'ProductVersion', u'0.4.2')]) ]), VarFileInfo([VarStruct(u'Translation', [2057, 1200])]) ]