Skip to content
Snippets Groups Projects

Remove sample view when removing sample

Merged Wuttke, Joachim requested to merge ba3d17 into main
6 files
+ 16
19
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -116,8 +116,10 @@ void SampleView::updateSingleSampleMode()
void SampleView::onRequestViewInRealspace(Item3D* item)
{
if (!item)
if (!item) {
m_realspacePanel->widget()->clearDisplay();
return;
}
m_docks->setDockVisible(REALSPACEPANEL);
m_realspacePanel->widget()->setDisplayedItem(m_sampleSelectionView->currentSample(), item);
Loading