mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 07:29:33 -05:00
Fix to not allow empty profile names on profile creation
This commit is contained in:
parent
6db102c2be
commit
154148d77f
@ -407,7 +407,7 @@ void GenCertDialog::updateCheckLabels()
|
||||
ui.node_name_check_LB ->setPixmap(bad) ;
|
||||
}
|
||||
|
||||
if(!generate_new || ui.name_input->text().length() >= 3)
|
||||
if(!generate_new || ui.name_input->text().trimmed().length() >= 3)
|
||||
ui.profile_name_check_LB ->setPixmap(good) ;
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user