summaryrefslogtreecommitdiff
path: root/src/wx/download_certificate_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-06-28 00:40:52 +0200
committerCarl Hetherington <cth@carlh.net>2024-06-28 00:40:52 +0200
commit642b1a42643abdb67106b8a9d6ac74a647be3c45 (patch)
tree634e80fce49edc04f344cdd037bf1df852e13b6f /src/wx/download_certificate_panel.cc
parentf1c252ed862e87f26eb3f68c7478e4a7cd682272 (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.cc1
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));
}