mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-17 17:49:18 +00:00
Don't do any shader viewer work if the log is closed
This commit is contained in:
1 parent
b5b8cf574d
commit
c71191906b
1 file changed
+3
@@ -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