Skip to content

Commit

Permalink
Gtk.FileDialog syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
kra-mo committed Jan 29, 2023
1 parent 6d72292 commit 3d2c269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def set_heroic_dir(source, result, user_data):
pass

def choose_folder(widget, function):
filechooser.select_folder(parent_widget, None, None, function, None)
filechooser.select_folder(parent_widget, None, function, None)

self.steam_file_chooser_button.connect("clicked", choose_folder, set_steam_dir)
self.heroic_file_chooser_button.connect("clicked", choose_folder, set_heroic_dir)

0 comments on commit 3d2c269

Please sign in to comment.