if (Config.Arguments.Length == 0) {
if (Config.Options.ContainsKey("Session")) {
RestoreSession(Config.Options["Session"]);
- CurrentSession = Config.Options["Session"];
} else if (Options.ContainsKey("Default")) {
RestoreSession("Default");
}
foreach (string page in pages) {
wt.OpenUriTab(page);
}
+ CurrentSession = SessionName;
} else {
Console.WriteLine("Could not restore session {0} because it does not exist.", SessionName);
}