d_splitter->widget(1)->show();
d_splitter->setStretchFactor(0,1);
d_splitter->setStretchFactor(1,4);
+ d_cellCodeScriptEditor->setFocus();
}
else
{
d_cellCodeScriptEditor->setReadOnly(false);
d_cellCodeScriptEditor->document()->setModified(false);
d_splitter->widget(1)->show();
- d_splitter->setStretchFactor(0,1);
- d_splitter->setStretchFactor(1,4);
}
else
{
}
return false;
}
+
+void DCCellScriptsEditorPageWidget::focusCustomScript()
+{
+ d_splitter->setStretchFactor(0,1);
+ d_splitter->setStretchFactor(1,4);
+ d_customScriptEditor->setFocus();
+}
+
+void DCCellScriptsEditorPageWidget::focusCellCodeScript()
+{
+ d_splitter->setStretchFactor(0,1);
+ d_splitter->setStretchFactor(1,4);
+ d_cellCodeScriptEditor->setFocus();
+
+}