Index: /oup/current/Main.pas
===================================================================
--- /oup/current/Main.pas	(revision 83)
+++ /oup/current/Main.pas	(revision 84)
@@ -229,7 +229,12 @@
   begin
     if MDITab.MDIChildren[tabIndex] is TForm_ToolTemplate then
+    begin
       hint := 'Window: ' + MDITab.MDIChildren[tabIndex].Caption + #13+#10 +
-            'Selected File: ' +
-            TForm_ToolTemplate(MDITab.MDIChildren[tabIndex]).SelectedFile.FileName
+            'Selected File: ';
+      if TForm_ToolTemplate(MDITab.MDIChildren[tabIndex]).SelectedFile.ID >= 0 then
+        hint := hint + TForm_ToolTemplate(MDITab.MDIChildren[tabIndex]).SelectedFile.FileName
+      else
+        hint := hint + 'None';
+    end
     else
       hint := 'Window: ' + MDITab.MDIChildren[tabIndex].Caption;
