Allow typing zeroes in Simulation settings dialog

This commit is contained in:
Maciej Suminski 2016-08-11 14:41:31 +02:00
parent d055692cf3
commit 3c909e2c32
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@
DIALOG_SIM_SETTINGS::DIALOG_SIM_SETTINGS( wxWindow* aParent )
: DIALOG_SIM_SETTINGS_BASE( aParent ), m_exporter( nullptr )
{
m_posFloatValidator.SetMin( 0 + std::numeric_limits<double>::epsilon() );
m_posFloatValidator.SetPrecision( 3 );
m_posFloatValidator.SetMin( 0 );
m_posFloatValidator.SetPrecision( 6 );
m_posIntValidator.SetMin( 1 );
m_acPointsNumber->SetValidator( m_posIntValidator );