mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1373 Use selectAsCurrentItem in MainPlotWindow
This commit is contained in:
@@ -495,7 +495,11 @@ void RiuMainPlotWindow::slotSubWindowActivated(QMdiSubWindow* subWindow)
|
||||
|
||||
if (viewWindow && viewWindow != m_activePlotViewWindow)
|
||||
{
|
||||
if (!m_blockSlotSubWindowActivated) projectTreeView()->selectAsCurrentItem(viewWindow);
|
||||
if (!m_blockSlotSubWindowActivated)
|
||||
{
|
||||
selectAsCurrentItem(viewWindow);
|
||||
}
|
||||
|
||||
m_activePlotViewWindow = viewWindow;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user