Remove restriction of grid locator to 4 or 6 chars. Upped to 16 chars

This commit is contained in:
Jordan Sherer
2018-08-22 15:15:30 -04:00
parent b7d2a370f8
commit 726484a05a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1017,7 +1017,7 @@ Configuration::impl::impl (Configuration * self, QDir const& temp_directory,
// validation
//
ui_->callsign_line_edit->setValidator (new CallsignValidator {this});
ui_->grid_line_edit->setValidator (new MaidenheadLocatorValidator {this});
ui_->grid_line_edit->setValidator (new MaidenheadLocatorValidator {this, MaidenheadLocatorValidator::Length::doubleextended});
ui_->add_macro_line_edit->setValidator (new QRegExpValidator {message_alphabet, this});
ui_->station_message_line_edit->setValidator (new QRegExpValidator {message_alphabet, this});
ui_->qth_message_line_edit->setValidator (new QRegExpValidator {message_alphabet, this});