From: eap Date: Tue, 22 Apr 2008 16:55:03 +0000 (+0000) Subject: allow memory size == 1 MB X-Git-Tag: V4_1_2rc2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2f6f26db47cd35a7981516960f8b1d80b0d0140f;p=plugins%2Fghs3dplugin.git allow memory size == 1 MB --- diff --git a/src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx b/src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx index 4212f79..e5b599e 100644 --- a/src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx +++ b/src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx @@ -132,7 +132,7 @@ QFrame* GHS3DPluginGUI_HypothesisCreator::buildFrame() myMaximumMemoryCheck = new QCheckBox( tr("MAX_MEMORY_SIZE"), myAdvGroup ); myMaximumMemorySpin = new QSpinBox( myAdvGroup ); - myMaximumMemorySpin->setMinValue( 20 ); + myMaximumMemorySpin->setMinValue( 1 ); myMaximumMemorySpin->setMaxValue( maxAvailableMemory() ); myMaximumMemorySpin->setLineStep( 10 ); new QLabel( tr("MEGABYTE"), myAdvGroup); @@ -140,7 +140,7 @@ QFrame* GHS3DPluginGUI_HypothesisCreator::buildFrame() myInitialMemoryCheck = new QCheckBox( tr("INIT_MEMORY_SIZE"), myAdvGroup ); myInitialMemorySpin = new QSpinBox( myAdvGroup ); - myInitialMemorySpin->setMinValue( 20 ); + myInitialMemorySpin->setMinValue( 1 ); myInitialMemorySpin->setMaxValue( maxAvailableMemory() ); myInitialMemorySpin->setLineStep( 10 ); new QLabel( tr("MEGABYTE"), myAdvGroup);