mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Use updateConnectedEditors instead of a resize
This commit is contained in:
@@ -2173,17 +2173,6 @@ void RiuMainWindow::setExpanded(const caf::PdmUiItem* uiItem, bool expanded)
|
||||
m_projectTreeView->setExpanded(uiItem, expanded);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuMainWindow::forceProjectTreeRepaint()
|
||||
{
|
||||
// This is a hack to force the treeview redraw.
|
||||
// Needed for some reason when changing names and icons in the model
|
||||
m_projectTreeView->scroll(0,1);
|
||||
m_projectTreeView->scroll(0,-1);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user