mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Fix bad function call in data export cancel.
This commit is contained in:
parent
34b0f6f014
commit
9b57725b8c
1 changed files with 3 additions and 1 deletions
|
@ -301,7 +301,9 @@ void PanelController::stopWithConfirmation(FnMut<void()> callback) {
|
|||
if (!_state.is<ProcessingState>()) {
|
||||
LOG(("Export Info: Stop Panel Without Confirmation."));
|
||||
stopExport();
|
||||
if (callback) {
|
||||
callback();
|
||||
}
|
||||
return;
|
||||
}
|
||||
auto stop = [=, callback = std::move(callback)]() mutable {
|
||||
|
|
Loading…
Add table
Reference in a new issue