]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for bug IPAL12057. for_sharm
authormzn <mzn@opencascade.com>
Fri, 31 Mar 2006 11:53:46 +0000 (11:53 +0000)
committermzn <mzn@opencascade.com>
Fri, 31 Mar 2006 11:53:46 +0000 (11:53 +0000)
src/LightApp/LightApp_Application.cxx
src/LightApp/resources/LightApp_msg_en.po

index 2d44578c7dd73c9cc02f680b48ae2ca919bbca5f..6e461adc07ae40cfd876c263977a94866f6eda57 100644 (file)
@@ -1633,9 +1633,6 @@ void LightApp_Application::createPreferences( LightApp_Preferences* pref )
 
   pref->addPreference( tr( "PREF_MULTI_FILE" ), studyGroup, LightApp_Preferences::Bool, "Study", "multi_file" );
   pref->addPreference( tr( "PREF_ASCII_FILE" ), studyGroup, LightApp_Preferences::Bool, "Study", "ascii_file" );
-  int undoPref = pref->addPreference( tr( "PREF_UNDO_LEVEL" ), studyGroup, LightApp_Preferences::IntSpin, "Study", "undo_level" );
-  pref->setItemProperty( undoPref, "min", 1 );
-  pref->setItemProperty( undoPref, "max", 100 );
   pref->addPreference( tr( "PREF_STORE_POS" ), studyGroup, LightApp_Preferences::Bool, "Study", "store_positions" );
 
   int extgroup = pref->addPreference( tr( "PREF_GROUP_EXT_BROWSER" ), genTab );
index 09f9013322051153fd4e8f49cb5fc1b0b84845f3..7ec57f7e021c5225a04d06a975a23815d2a8cbf0 100644 (file)
@@ -123,9 +123,6 @@ msgstr "Multi file save"
 msgid "LightApp_Application::PREF_ASCII_FILE"
 msgstr "ASCII save"
 
-msgid "LightApp_Application::PREF_UNDO_LEVEL"
-msgstr "Undo level"
-
 msgid "LightApp_Application::PREF_STORE_POS"
 msgstr "Store positions of windows"