mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Don't crash if the event browser isn't open when opening a capture
This commit is contained in:
@@ -2084,7 +2084,8 @@ void MainWindow::OnCaptureLoaded()
|
||||
|
||||
PopulateRecentCaptureFiles();
|
||||
|
||||
ToolWindowManager::raiseToolWindow(m_Ctx.GetEventBrowser()->Widget());
|
||||
if(m_Ctx.HasEventBrowser())
|
||||
ToolWindowManager::raiseToolWindow(m_Ctx.GetEventBrowser()->Widget());
|
||||
}
|
||||
|
||||
void MainWindow::OnCaptureClosed()
|
||||
|
||||
Reference in New Issue
Block a user