mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Dock live capture windows with capture dialog if visible. Refs #1197
This commit is contained in:
@@ -1325,7 +1325,10 @@ void MainWindow::ShowLiveCapture(LiveCapture *live)
|
||||
{
|
||||
m_LiveCaptures.push_back(live);
|
||||
|
||||
m_Ctx.AddDockWindow(live, DockReference::MainToolArea, this);
|
||||
if(m_Ctx.HasCaptureDialog())
|
||||
m_Ctx.AddDockWindow(live, DockReference::AddTo, m_Ctx.GetCaptureDialog()->Widget());
|
||||
else
|
||||
m_Ctx.AddDockWindow(live, DockReference::MainToolArea, this);
|
||||
}
|
||||
|
||||
void MainWindow::LiveCaptureClosed(LiveCapture *live)
|
||||
|
||||
Reference in New Issue
Block a user