Skip to content

Commit d6474ad

Browse files
committed
Unbreak opening multiple files at once
1 parent 2450aef commit d6474ad

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Application.vala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,12 @@ public class Application : Gtk.Application {
192192
break;
193193

194194
default:
195-
open_window_with_file (File.new_for_commandline_arg (args[1]));
195+
foreach (var arg in args[1:args.length]) {
196+
open_window_with_file (File.new_for_commandline_arg (arg));
197+
}
196198
break;
197199
}
198-
return 0;
200+
return 0;
199201

200202
}
201203
}

0 commit comments

Comments
 (0)