fix tab group delete/add tabs

This commit is contained in:
gagarinlg
2022-06-11 15:38:08 +02:00
committed by Raphael Coeffic
parent 5d79b9cd38
commit bde100b18c
+1 -1
View File
@@ -116,7 +116,7 @@ void TabsCarousel::update()
}
while(buttons.size() > menu->tabs.size())
{
delete *buttons.end();
buttons.back()->deleteLater();
buttons.pop_back();
}
}