Dock live capture windows with capture dialog if visible. Refs #1197

This commit is contained in:
baldurk
2018-12-13 10:30:01 +00:00
parent 006bf38e79
commit 1fc51777d2
+4 -1
View File
@@ -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)