mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-20 15:00:36 -04:00
Fix to not allow empty profile names on profile creation
This commit is contained in:
parent
6db102c2be
commit
154148d77f
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ void GenCertDialog::updateCheckLabels()
|
||||||
ui.node_name_check_LB ->setPixmap(bad) ;
|
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) ;
|
ui.profile_name_check_LB ->setPixmap(good) ;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue