fixed tabs being in weird positions at the start

This commit is contained in:
fourtf
2017-01-31 10:41:05 +01:00
parent c54f2c31dd
commit 9f7a674472
3 changed files with 19 additions and 4 deletions
+2 -1
View File
@@ -65,7 +65,8 @@ NotebookTab::moveAnimated(QPoint pos, bool animated)
posAnimationDesired = pos;
if (!animated || posAnimated == false) {
if ((this->window() != NULL && !this->window()->isVisible()) || !animated ||
posAnimated == false) {
move(pos);
posAnimated = true;