Skip to content

Commit

Permalink
Pathbar: fix invalid uri on button clicked (#87)
Browse files Browse the repository at this point in the history
Regression introduced in #84
  • Loading branch information
danirabbit authored Sep 23, 2024
1 parent 47f0a5b commit 034397b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Frontend/Widgets/PathBar.vala
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ namespace Taxi {
button_style_context.add_class ("path-button");

button.clicked.connect (() => {
current_uri.parse (current_uri.get_scheme () + path, PARSE_RELAXED);
current_uri = GLib.Uri.parse (current_uri.get_scheme () + "://" + path, PARSE_RELAXED);
navigate (current_uri);
});
add (button);
Expand Down

0 comments on commit 034397b

Please sign in to comment.