+2015-12-02 Carl Hetherington <cth@carlh.net>
+
+ * Remove insistence on 6-character Doremi serials (#768).
+
2015-12-01 c.hetherington <cth@carlh.net>
* Updated ru_RU translation from Igor Voytovich.
void
DoremiCertificatePanel::download (wxStaticText* message)
{
- string const serial = wx_to_std (_serial->GetValue ());
- if (serial.length() != 6) {
- error_dialog (this, _("Doremi serial numbers must have 6 digits"));
- return;
- }
-
message->SetLabel (_("Downloading certificate"));
/* Hack: without this the SetLabel() above has no visible effect */
wxMilliSleep (200);
- signal_manager->when_idle (boost::bind (&DoremiCertificatePanel::finish_download, this, serial, message));
+ signal_manager->when_idle (boost::bind (&DoremiCertificatePanel::finish_download, this, wx_to_std (_serial->GetValue ()), message));
}
void