mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix bad function call in data export cancel.
This commit is contained in:
@@ -301,7 +301,9 @@ void PanelController::stopWithConfirmation(FnMut<void()> callback) {
|
||||
if (!_state.is<ProcessingState>()) {
|
||||
LOG(("Export Info: Stop Panel Without Confirmation."));
|
||||
stopExport();
|
||||
callback();
|
||||
if (callback) {
|
||||
callback();
|
||||
}
|
||||
return;
|
||||
}
|
||||
auto stop = [=, callback = std::move(callback)]() mutable {
|
||||
|
||||
Reference in New Issue
Block a user