Skip to content

Commit

Permalink
Make sure buffer viewer panels can't be closed
Browse files Browse the repository at this point in the history
  • Loading branch information
baldurk committed Dec 1, 2023
1 parent 32e1f62 commit d52f97c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qrenderdoc/Windows/BufferViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2800,7 +2800,7 @@ void BufferViewer::SetupMeshView()
ui->dockarea->addToolWindow(
m_Containers[0], ToolWindowManager::AreaReference(
ToolWindowManager::TopOf, ui->dockarea->areaOf(ui->outputTabs), 0.5f));
ui->dockarea->setToolWindowProperties(ui->inTable, ToolWindowManager::HideCloseButton);
ui->dockarea->setToolWindowProperties(m_Containers[0], ToolWindowManager::HideCloseButton);

ui->out1Table->setFrameShape(QFrame::NoFrame);
ui->dockarea->addToolWindow(
Expand All @@ -2812,7 +2812,7 @@ void BufferViewer::SetupMeshView()
ui->dockarea->addToolWindow(
m_Containers[2], ToolWindowManager::AreaReference(
ToolWindowManager::AddTo, ui->dockarea->areaOf(m_Containers[1]), 0.5f));
ui->dockarea->setToolWindowProperties(ui->out2Table, ToolWindowManager::HideCloseButton);
ui->dockarea->setToolWindowProperties(m_Containers[2], ToolWindowManager::HideCloseButton);

ToolWindowManager::raiseToolWindow(m_Containers[1]);

Expand Down

0 comments on commit d52f97c

Please sign in to comment.