mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Fixed bug with Help window where clicking a treenode that does not have a .html file associated with it would produce an error.
This commit is contained in:
@@ -246,7 +246,7 @@ namespace mRemoteNG.UI.Window
|
||||
|
||||
private void tvIndex_AfterSelect(Object sender, TreeViewEventArgs e)
|
||||
{
|
||||
if (((string)e.Node.Tag) != "")
|
||||
if (((string)e.Node.Tag) != "" && e.Node.Tag != null)
|
||||
{
|
||||
wbHelp.Navigate(GeneralAppInfo.HomePath + "\\Help\\" + Convert.ToString(e.Node.Tag) +".htm");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user