Skip to content

Commit 90bfac4

Browse files
committed
revert to previous syntax
1 parent 4a638f5 commit 90bfac4

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/View/Window.vala

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -796,14 +796,9 @@ public class Files.View.Window : Hdy.ApplicationWindow {
796796
unowned var selected_files = current_container.view.get_selected_files ();
797797
if (selected_files == null) {
798798
bookmark_list.insert_uri_at_end (current_container.location.get_uri (), "");
799-
return;
800-
}
801-
802-
if (selected_files.first ().next == null) {
799+
} else if (selected_files.first ().next == null) {
803800
bookmark_list.insert_uri_at_end (selected_files.first ().data.uri, "");
804-
}
805-
806-
// Ignore if more than one item selected
801+
} // Ignore if more than one item selected
807802
}
808803

809804
private void action_find (GLib.SimpleAction action, GLib.Variant? param) {

0 commit comments

Comments
 (0)