diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-06-28 00:40:52 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-06-28 00:40:52 +0200 |
| commit | 642b1a42643abdb67106b8a9d6ac74a647be3c45 (patch) | |
| tree | 634e80fce49edc04f344cdd037bf1df852e13b6f /src/wx/download_certificate_panel.cc | |
| parent | f1c252ed862e87f26eb3f68c7478e4a7cd682272 (diff) | |
Add some wxYield()s.certs
One or more of these improve GUI responsiveness when downloading
certificates and make it less likely that GNOME complains that
DCP-o-matic has hung.
Diffstat (limited to 'src/wx/download_certificate_panel.cc')
| -rw-r--r-- | src/wx/download_certificate_panel.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/download_certificate_panel.cc b/src/wx/download_certificate_panel.cc index 3f1509f60..f3721fec6 100644 --- a/src/wx/download_certificate_panel.cc +++ b/src/wx/download_certificate_panel.cc @@ -105,6 +105,7 @@ DownloadCertificatePanel::download () /* Hack: without this the SetLabel() above has no visible effect */ wxMilliSleep (200); + wxYield(); signal_manager->when_idle (boost::bind(&DownloadCertificatePanel::do_download, this)); } |
