瀏覽代碼

* Do not activate client/server in design mode

git-svn-id: trunk@33129 -
michael 9 年之前
父節點
當前提交
7d38224c65
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/fcl-process/src/simpleipc.pp

+ 1 - 1
packages/fcl-process/src/simpleipc.pp

@@ -269,7 +269,7 @@ procedure TSimpleIPC.SetActive(const AValue: Boolean);
 begin
   if (FActive<>AValue) then
     begin
-    if (csLoading in ComponentState) then
+    if ([]<>([csLoading,csDesigning]*ComponentState)) then
       FActive:=AValue
     else  
       If AValue then