OSDN Git Service

[denncoCreator] reworked the code editor. Its now opened on a separate window.
[dennco/denncoCreator.git] / Source / dccellcode.cpp
index 70cd81f..7a1cfaa 100644 (file)
@@ -36,9 +36,9 @@ QString DCCellCode::getOwnScript() const
     return d_container->readCellCodeScriptFromFile(this);
 }
 
-void DCCellCode::saveScript(const QString &script)
+bool DCCellCode::saveScript(const QString &script)
 {
-    d_container->saveClassScriptToWorkFile(this, script.toStdString());
+    return d_container->saveClassScriptToWorkFile(this, script.toStdString());
 }
 
 DCVCPage* DCCellCode::getPageBelonging() const