mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Don't do any shader viewer work if the log is closed
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user