1
0
Fork 0
mirror of synced 2024-06-17 18:14:44 +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,8 +42,9 @@ 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"):
self.ui.prefix_combo.addItems(wine_pfx)
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. ")
+ self.ui.info_label.text()