ui: More fixes for release

* Fixed graph resizing invoked during animation
* Clearin history when clearing UndoRedoController
* Fixed no hatching in single code view file button
This commit is contained in:
Eberhard Graether
2017-06-08 12:45:56 +02:00
parent deed335a10
commit 24894aa96f
3 changed files with 7 additions and 1 deletions
@@ -29,6 +29,7 @@ void UndoRedoController::clear()
m_history.clear();
m_historyOffset = 0;
updateHistory();
getView()->setUndoButtonEnabled(false);
getView()->setRedoButtonEnabled(false);
@@ -71,7 +71,7 @@ void QtCodeFileTitleButton::setIsComplete(bool isComplete)
);
setStyleSheet((
"#title_label { background-image: url(" + hatchingFilePath.str() + "); }"
"#title_label, #file_title { background-image: url(" + hatchingFilePath.str() + "); }"
).c_str());
}
else
+5
View File
@@ -340,6 +340,11 @@ void QtGraphView::scrolled(int)
void QtGraphView::resized()
{
if (m_transition && m_transition->currentTime() < m_transition->totalDuration())
{
return;
}
doResize();
}