mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Save frame in GIFs panel.
This commit is contained in:
@@ -431,9 +431,14 @@ TabbedSelector::InnerFooter *GifsListWidget::getFooter() const {
|
||||
|
||||
void GifsListWidget::processHideFinished() {
|
||||
clearSelection();
|
||||
clearHeavyData();
|
||||
}
|
||||
|
||||
void GifsListWidget::processPanelHideFinished() {
|
||||
clearHeavyData();
|
||||
}
|
||||
|
||||
void GifsListWidget::clearHeavyData() {
|
||||
const auto itemForget = [](const auto &item) {
|
||||
if (const auto document = item->getDocument()) {
|
||||
document->unload();
|
||||
|
Reference in New Issue
Block a user