Use updateConnectedEditors instead of a resize

This commit is contained in:
Magne Sjaastad
2015-11-02 09:50:08 +01:00
parent d61c1ecb93
commit 61665dc7c9
4 changed files with 3 additions and 14 deletions

View File

@@ -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);
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@@ -84,7 +84,6 @@ public:
void refreshAnimationActions();
void updateScaleValue();
void forceProjectTreeRepaint();
caf::PdmUiTreeView* projectTreeView() { return m_projectTreeView;}
RiuProcessMonitor* processMonitor();