void DCCellScriptsEditorPageWidget::reloadCustomScript()
{
d_customScriptEditor->setPlainText(d_customScriptFolder.getCurrentScript(true));
+ d_customScriptEditor->setReadOnly(d_customScriptExternalMode);
updateModifiedStatus();
}
if (d_cell->getIsCellCodeAssgined())
{
d_cellCodeScriptEditor->setPlainText(d_cellCodeScriptFolder.getCurrentScript(true));
- d_cellCodeScriptEditor->setReadOnly(false);
+ d_cellCodeScriptEditor->setReadOnly(d_cellCodeScriptExternalMode);
d_cellCodeScriptEditor->document()->setModified(false);
d_cellCodeScriptEditExternalButton->setEnabled(true);
d_splitter->widget(1)->show();