mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Fix crash if Ctrl-C is pressed while no log is loaded
This commit is contained in:
@@ -2229,6 +2229,8 @@ namespace renderdocui.Windows
|
||||
Clipboard.SetText(texStatusDim.Text + " | " + statusLabel.Text);
|
||||
}
|
||||
|
||||
if (!m_Core.LogLoaded) return;
|
||||
|
||||
if (e.KeyCode == Keys.Up && m_PickedPoint.Y > 0)
|
||||
{
|
||||
m_PickedPoint = new Point(m_PickedPoint.X, m_PickedPoint.Y - 1);
|
||||
|
||||
Reference in New Issue
Block a user