documentor: Fixed crash on doc dir refresh
authorJerome St-Louis <jerome@ecere.com>
Wed, 28 Aug 2013 08:43:09 +0000 (04:43 -0400)
committerJerome St-Louis <jerome@ecere.com>
Wed, 28 Aug 2013 08:43:09 +0000 (04:43 -0400)
documentor/src/Documentor.ec

index fbe3c73..99ff545 100644 (file)
@@ -2085,6 +2085,7 @@ class MainForm : Window
          if(SettingsDialog { master = this }.Modal() == ok) // Open the settings dialog to allow the user to change the directory for the eCdoc files
          {
             // Refresh docs
+            view.edit = false;
             view.Destroy(0);
             view.Create();
          }