mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Use shared_ptr<Memento> for sections.
This commit is contained in:
@@ -1002,7 +1002,7 @@ void Controller::fillManageSection() {
|
||||
if (hasRecentActions) {
|
||||
auto callback = [=] {
|
||||
_navigation->showSection(
|
||||
std::make_unique<AdminLog::SectionMemento>(channel));
|
||||
std::make_shared<AdminLog::SectionMemento>(channel));
|
||||
};
|
||||
AddButtonWithCount(
|
||||
_controls.buttonsLayout,
|
||||
|
Reference in New Issue
Block a user