ImportLogin: Check if programdata is set
This commit is contained in:
parent
0388d4bf9d
commit
b3348a1eca
|
@ -42,8 +42,9 @@ class ImportLogin(QFrame):
|
||||||
self.ui.status_label.setText(self.text_egl_found)
|
self.ui.status_label.setText(self.text_egl_found)
|
||||||
self.found = True
|
self.found = True
|
||||||
else:
|
else:
|
||||||
if wine_pfx := self.core.egl.programdata_path.split("drive_c"):
|
if programdata_path := self.core.egl.programdata_path:
|
||||||
self.ui.prefix_combo.addItems(wine_pfx)
|
if wine_pfx := programdata_path.split("drive_c"):
|
||||||
|
self.ui.prefix_combo.addItems(wine_pfx)
|
||||||
self.ui.info_label.setText(
|
self.ui.info_label.setText(
|
||||||
self.tr("Please select the Wine prefix where Epic Games Launcher is installed. ")
|
self.tr("Please select the Wine prefix where Epic Games Launcher is installed. ")
|
||||||
+ self.ui.info_label.text()
|
+ self.ui.info_label.text()
|
||||||
|
|
Loading…
Reference in a new issue