зеркало из https://github.com/mozilla/pjs.git
changing minlen and maxlen in edit fields
This commit is contained in:
Родитель
d38478e5d6
Коммит
1029bbeb6a
|
@ -1637,7 +1637,7 @@ void CWizardMachineApp::BuildWidget(WIDGET* aWidget, CString iniSection, CString
|
||||||
if (aWidget->fieldlen.max_len)
|
if (aWidget->fieldlen.max_len)
|
||||||
aWidget->fieldlen.length = aWidget->fieldlen.max_len;
|
aWidget->fieldlen.length = aWidget->fieldlen.max_len;
|
||||||
else if (aWidget->fieldlen.min_len)
|
else if (aWidget->fieldlen.min_len)
|
||||||
aWidget->fieldlen.length = aWidget->fieldlen.min_len;
|
aWidget->fieldlen.length = MAX_SIZE;
|
||||||
else
|
else
|
||||||
aWidget->fieldlen.length = MAX_SIZE;
|
aWidget->fieldlen.length = MAX_SIZE;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче