]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for the bug "IPAL22452 TC6.3.0: Save button is not activated after renaming GUI...
authorrnv <rnv@opencascade.com>
Mon, 16 May 2011 14:06:17 +0000 (14:06 +0000)
committerrnv <rnv@opencascade.com>
Mon, 16 May 2011 14:06:17 +0000 (14:06 +0000)
src/SalomeApp/SalomeApp_Application.cxx

index 4f9c611ae4f831f6266675a195c177f959ab1987..be0d219fe8f836ea77fcb6dc50cd8ee61d3c72d6 100644 (file)
@@ -1840,6 +1840,9 @@ bool SalomeApp_Application::renameObject( const QString& entry, const QString& n
   if ( !name.isNull() && !name.isEmpty() ) {
     aStudy->setNameOfSavePoint( savePoint, name );
     updateSavePointDataObjects( aStudy );
+
+    //Mark study as modified
+    aStudy->Modified();
     return true;
   }
   return false;