From 2f6f26db47cd35a7981516960f8b1d80b0d0140f Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 22 Apr 2008 16:55:03 +0000 Subject: [PATCH] allow memory size == 1 MB --- src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2