2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fix crash when switching two columns at once.

This commit is contained in:
John Preston
2017-11-13 10:00:38 +04:00
parent 8355722f4e
commit 534b578598
2 changed files with 7 additions and 2 deletions

View File

@@ -3613,6 +3613,7 @@ void MainWidget::updateThirdColumnToCurrentPeer(
if (!_stack.empty() && _thirdSection) {
_stack.back()->setThirdSectionMemento(
_thirdSection->createMemento());
_thirdSection.destroy();
}
};
auto params = Window::SectionShow(