src: More fixes for release
* Show declname in java import error * Don't clear window stack when saving preferences * Fixed spacing in source group UI, status view and error view * Resize graph scene rect when widget is resized * Graph node centering respect no animation preference * Fixed undoing of view commands * Avoid scrollbar jump when restoring graph scroll position * Deactivate local symbols in code when clicking into empty space
This commit is contained in:
@@ -82,6 +82,7 @@ void QtGraphView::initView()
|
||||
|
||||
connect(view, SIGNAL(emptySpaceClicked()), this, SLOT(clickedInEmptySpace()));
|
||||
connect(view, SIGNAL(characterKeyPressed(QChar)), this, SLOT(pressedCharacterKey(QChar)));
|
||||
connect(view, SIGNAL(resized()), this, SLOT(resized()));
|
||||
|
||||
m_scrollSpeedChangeListenerHorizontal.setScrollBar(view->horizontalScrollBar());
|
||||
m_scrollSpeedChangeListenerVertical.setScrollBar(view->verticalScrollBar());
|
||||
@@ -337,6 +338,11 @@ void QtGraphView::scrolled(int)
|
||||
MessageScrollGraph(view->horizontalScrollBar()->value(), view->verticalScrollBar()->value()).dispatch();
|
||||
}
|
||||
|
||||
void QtGraphView::resized()
|
||||
{
|
||||
doResize();
|
||||
}
|
||||
|
||||
void QtGraphView::trailDepthChanged(int)
|
||||
{
|
||||
if (m_trailDepthSlider->value() == m_trailDepthSlider->maximum())
|
||||
@@ -1065,7 +1071,7 @@ void QtGraphView::createTransition()
|
||||
|
||||
anim->setDuration(300);
|
||||
|
||||
if (!remainingNodes.size() || m_scrollToTop)
|
||||
if (!remainingNodes.size() || m_scrollToTop || m_restoreScroll)
|
||||
{
|
||||
connect(anim, SIGNAL(finished()), this, SLOT(updateScrollBars()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user