projects
/
WebThing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2740ef2
)
Fixed Session so that CurrentSession is set in RestoreSession
author
Chip Black
<bytex64@bytex64.net>
Thu, 11 Jun 2009 22:09:47 +0000
(17:09 -0500)
committer
Chip Black
<bytex64@bytex64.net>
Thu, 11 Jun 2009 22:09:47 +0000
(17:09 -0500)
plugins/Session.cs
patch
|
blob
|
history
diff --git
a/plugins/Session.cs
b/plugins/Session.cs
index
559f250
..
02c9771
100644
(file)
--- a/
plugins/Session.cs
+++ b/
plugins/Session.cs
@@
-12,7
+12,6
@@
public class Session : WebThingPlugin {
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");
}
@@
-36,6
+35,7
@@
public class Session : WebThingPlugin {
foreach (string page in pages) {
wt.OpenUriTab(page);
}
+ CurrentSession = SessionName;
} else {
Console.WriteLine("Could not restore session {0} because it does not exist.", SessionName);
}