Explorar el Código

Don't update the modified flag after an object was saved on the server and the ID was set afterwards

Andreas Fetzer hace 10 años
padre
commit
ec6273c20e
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      Libs/XNAT/Core/ctkXnatObject.cpp

+ 2 - 0
Libs/XNAT/Core/ctkXnatObject.cpp

@@ -308,7 +308,9 @@ void ctkXnatObject::download(const QString& filename)
 //----------------------------------------------------------------------------
 void ctkXnatObject::save()
 {
+  Q_D(ctkXnatObject);
   this->saveImpl();
+  d->modified = false;
 }
 
 //----------------------------------------------------------------------------