Salome HOME
allow memory size == 1 MB V4_1_2rc2
authoreap <eap@opencascade.com>
Tue, 22 Apr 2008 16:55:03 +0000 (16:55 +0000)
committereap <eap@opencascade.com>
Tue, 22 Apr 2008 16:55:03 +0000 (16:55 +0000)
src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx

index 4212f79facb3235f3c80cd23cc9e6057007b0897..e5b599e44fca8d946d990d51b8e140daa32cef82 100644 (file)
@@ -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);