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

github.com/mono/mono-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--windoc/WinDoc/MainWindow.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/windoc/WinDoc/MainWindow.cs b/windoc/WinDoc/MainWindow.cs
index b6bcd34e..d6c39e6e 100644
--- a/windoc/WinDoc/MainWindow.cs
+++ b/windoc/WinDoc/MainWindow.cs
@@ -74,8 +74,7 @@ namespace WinDoc
LoadUrl (url, true);
nav.Cancel = true;
};
- if (!string.IsNullOrEmpty (initialUrl))
- LoadUrl (initialUrl, true);
+ LoadUrl (string.IsNullOrEmpty (initialUrl) ? "root:" : initialUrl, syncTreeView: true);
}
void SetupSearch ()