Changeset 6ea50a2


Ignore:
Timestamp:
06/30/14 15:52:26 (14 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, enter/10, releng/10.0.3, releng/10.1, releng/10.1.1, releng/10.1.2, releng/10.2, stable/10
Children:
4a8b622
Parents:
7bf6f7f
Message:

When specifying zpool names, make sure they start with a-z, not
with a number

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-installgui/wizardDisk.cpp

    rca410fae r6ea50a2  
    286286              return false; 
    287287            } 
    288             QRegExp *re = new QRegExp("^[-'a-zA-Z0-9]*$");  
     288            QRegExp *re = new QRegExp("^[-'a-zA-Z][a-zA-Z0-9]*$");  
    289289            if (! re->exactMatch(lineZpoolName->text()) ) { 
    290290              button(QWizard::NextButton)->setEnabled(false); 
Note: See TracChangeset for help on using the changeset viewer.