diff --git a/reference/SFtpFileSel/SFtpFileSel.cpp b/reference/SFtpFileSel/SFtpFileSel.cpp index 75914f457..67be2ca89 100644 --- a/reference/SFtpFileSel/SFtpFileSel.cpp +++ b/reference/SFtpFileSel/SFtpFileSel.cpp @@ -61,7 +61,6 @@ GUI_APP_MAIN pi.Reset(); refresh_gui = true; String path = fsel.Get(); - sftp.WhenWait = [&pi] { pi.ProcessEvent(); }; sftp.WhenProgress = [&pi] (int64 done, int64 total) { pi.SetText(