Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/macdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremie Laval <jeremie.laval@gmail.com>2012-03-07 20:38:47 +0400
committerJeremie Laval <jeremie.laval@gmail.com>2012-03-07 20:38:47 +0400
commit1100949970e35725e7d5bb2e446e6f729e47a616 (patch)
tree88b88678bbeacbb620d441b16602c4e8a4fcb767 /MyDocument.cs
parentd3f2dee22c6c1230cf154fc025f53b9aefe92baf (diff)
[macdoc] Mark restorable state as dirty when we change pages
Diffstat (limited to 'MyDocument.cs')
-rw-r--r--MyDocument.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/MyDocument.cs b/MyDocument.cs
index 980c52f..7a29111 100644
--- a/MyDocument.cs
+++ b/MyDocument.cs
@@ -220,6 +220,7 @@ namespace macdoc
if (ts < loadUrlTimestamp)
return;
currentUrl = node == null ? url : node.PublicUrl;
+ InvalidateRestorableState ();
if (addToHistory)
history.AppendHistory (new LinkPageVisit (this, currentUrl));
LoadHtml (res);