1
0
Fork 0
mirror of synced 2024-06-26 18:20:50 +12:00

ImportLogin: Check if programdata is set

This commit is contained in:
loathingKernel 2022-09-01 23:48:30 +03:00
parent 0388d4bf9d
commit b3348a1eca

View file

@ -42,7 +42,8 @@ class ImportLogin(QFrame):
self.ui.status_label.setText(self.text_egl_found)
self.found = True
else:
if wine_pfx := self.core.egl.programdata_path.split("drive_c"):
if programdata_path := self.core.egl.programdata_path:
if wine_pfx := programdata_path.split("drive_c"):
self.ui.prefix_combo.addItems(wine_pfx)
self.ui.info_label.setText(
self.tr("Please select the Wine prefix where Epic Games Launcher is installed. ")