1
0
Fork 0
mirror of synced 2024-06-17 18:14:44 +12:00

ImportLogin: Only add the first part of the split

This commit is contained in:
loathingKernel 2022-09-02 00:02:20 +03:00
parent b3348a1eca
commit 345ee443ed

View file

@ -43,8 +43,8 @@ class ImportLogin(QFrame):
self.found = True
else:
if programdata_path := self.core.egl.programdata_path:
if wine_pfx := programdata_path.split("drive_c"):
self.ui.prefix_combo.addItems(wine_pfx)
if wine_pfx := programdata_path.split("drive_c")[0]:
self.ui.prefix_combo.addItem(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()