OSDN Git Service

Fixed a bug
authortkawata <tkawata@users.sourceforge.jp>
Sun, 13 May 2012 14:03:12 +0000 (23:03 +0900)
committertkawata <tkawata@users.sourceforge.jp>
Sun, 13 May 2012 14:03:12 +0000 (23:03 +0900)
Source/QtScript/dnqscontainer.cpp

index 43f5fd0..1e2de37 100644 (file)
@@ -173,6 +173,10 @@ TKCell* DNQSContainer::createCellWithCellCodeClass(std::string theLocation, std:
     {
         cell = new DNQSBasicCell(this, theLocation, theName, false);
     }
+    else if (type == CELLTYPE_BASICSTORAGE)
+    {
+        cell = new DNQSBasicStorageCell(this, theLocation, theName, false);
+    }
     else if (type == CELLTYPE_OUT)
     {
         std::string message = std::string("Failed to construct cell '").append(theLocation).append("#").append(theName);
@@ -194,7 +198,7 @@ TKCell* DNQSContainer::createCellWithCellCodeClass(std::string theLocation, std:
             dnGlobal()->setMessage1("Initialization failed");
             dnGlobal()->setMessage2(message);
         }
-    }
+    }    
     else
     {
         std::string message = std::string("Failed to construct cell '").append(theLocation).append("#").append(theName);