mirror of
https://github.com/lutris/lutris.git
synced 2026-06-21 20:30:04 -04:00
Fixes #85 : Broken support for relative path on main file / exe
This commit is contained in:
@@ -207,8 +207,7 @@ class ConfigBox(Gtk.VBox):
|
||||
if path:
|
||||
# If path is relative, complete with game dir
|
||||
if not os.path.isabs(path):
|
||||
game = Game(self.game)
|
||||
path = os.path.join(game.directory, path)
|
||||
path = os.path.join(self.game.directory, path)
|
||||
file_chooser.unselect_all()
|
||||
file_chooser.select_filename(path)
|
||||
hbox.pack_start(Label(label), False, False, 20)
|
||||
|
||||
@@ -373,7 +373,6 @@ class LutrisWindow(object):
|
||||
"""Edit game preferences."""
|
||||
game = Game(self.view.selected_game)
|
||||
if game.is_installed:
|
||||
game = Game(self.view.selected_game)
|
||||
EditGameConfigDialog(self, game)
|
||||
|
||||
def on_viewmenu_toggled(self, menuitem):
|
||||
|
||||
Reference in New Issue
Block a user