diff OrthancServer/Sources/ServerContext.h @ 5784:b0d778f1e66d find-refactoring

fix
author Alain Mazy <am@orthanc.team>
date Mon, 16 Sep 2024 18:57:15 +0200
parents 56352ae88120
children b4e7a85cde80
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.h	Mon Sep 16 18:31:37 2024 +0200
+++ b/OrthancServer/Sources/ServerContext.h	Mon Sep 16 18:57:15 2024 +0200
@@ -348,7 +348,7 @@
 
     void SetReadOnly(bool readOnly)
     {
-      readOnly_ = true;
+      readOnly_ = readOnly;
     }
     
     bool IsReadOnly() const