Commit 9f1bbc10 authored by Sebastian Gottfried's avatar Sebastian Gottfried
Browse files

Fix Update Logic In Lesson Painter

Calling QQuickPaintedItem::update from ::paint was kinda stupid ;-(
parent 228a3815
......@@ -262,6 +262,7 @@ void LessonPainter::updateTrainingStatus()
invalidateImageCache();
updateCursorRectangle();
update();
}
void LessonPainter::advanceToNextTrainingLine()
......@@ -332,8 +333,6 @@ void LessonPainter::checkImageCache()
m_imageCache = img;
m_imageCacheDirty = false;
update();
}
void LessonPainter::updateCursorRectangle()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment