Skip to content

Commit 5c4fbd5

Browse files
fix(configure_game.py): fixed install button being usable at wrong times
fixed install button pushing install screen when the tag/install filters resulted in no valid options Signed-off-by: Mythical-Github <MythicalData@gmail.com>
1 parent 2b7d2bd commit 5c4fbd5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

assets/to_do_list.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ Next:
33
# automated releases pack windows exe into the linux release somehow, fix this
44
# fix installs that only have ue4ss files
55
# sometimes it doesn't properly remember the preferences of the checkboxes, probably related to force toggling off standard/portable
6-
# sometimes the install button can be pressed, when no file to install is selected, prevent this somehow
76
# bring back keep mods and settings and make uninstall more robust
87

98

src/ue4ss_installer_gui/screens/configure_game.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ def push_installing_from_zip_screen_file_selection(sender, app_data, user_data):
310310

311311
def push_installing_screen(sender, app_data, user_data):
312312
last_installed_file = dpg.get_value("ue4ss_file_to_install_combo_box")
313+
if last_installed_file is None or last_installed_file == '':
314+
return
313315
ue4ss_version = dpg.get_value("tags_combo_box")
314316
update_game_info_field_from_ui(
315317
user_data, "last_installed_version", last_installed_file

0 commit comments

Comments
 (0)