fix tab group delete/add tabs
This commit is contained in:
committed by
Raphael Coeffic
parent
5d79b9cd38
commit
bde100b18c
@@ -116,7 +116,7 @@ void TabsCarousel::update()
|
||||
}
|
||||
while(buttons.size() > menu->tabs.size())
|
||||
{
|
||||
delete *buttons.end();
|
||||
buttons.back()->deleteLater();
|
||||
buttons.pop_back();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user