diff --git a/renderdocui/Windows/ShaderViewer.cs b/renderdocui/Windows/ShaderViewer.cs index 498e8f1ac..2ce7792e0 100644 --- a/renderdocui/Windows/ShaderViewer.cs +++ b/renderdocui/Windows/ShaderViewer.cs @@ -924,6 +924,9 @@ namespace renderdocui.Windows void scintilla1_Click(object sender, EventArgs e) { + if (!m_Core.LogLoaded) + return; + ScintillaNET.Scintilla scintilla1 = sender as ScintillaNET.Scintilla; string word = scintilla1.GetWordFromPosition(scintilla1.CurrentPos);