2340 |
if (!script) return; |
if (!script) return; |
2341 |
|
|
2342 |
ScriptEditor* editor = new ScriptEditor; |
ScriptEditor* editor = new ScriptEditor; |
2343 |
|
editor->signal_script_to_be_changed.connect( |
2344 |
|
signal_script_to_be_changed.make_slot() |
2345 |
|
); |
2346 |
|
editor->signal_script_changed.connect( |
2347 |
|
signal_script_changed.make_slot() |
2348 |
|
); |
2349 |
editor->setScript(script); |
editor->setScript(script); |
2350 |
//editor->reparent(*this); |
//editor->reparent(*this); |
2351 |
editor->show(); |
editor->show(); |
3088 |
if (!script) return; |
if (!script) return; |
3089 |
|
|
3090 |
ScriptEditor* editor = new ScriptEditor; |
ScriptEditor* editor = new ScriptEditor; |
3091 |
|
editor->signal_script_to_be_changed.connect( |
3092 |
|
signal_script_to_be_changed.make_slot() |
3093 |
|
); |
3094 |
|
editor->signal_script_changed.connect( |
3095 |
|
signal_script_changed.make_slot() |
3096 |
|
); |
3097 |
editor->setScript(script); |
editor->setScript(script); |
3098 |
//editor->reparent(*this); |
//editor->reparent(*this); |
3099 |
editor->show(); |
editor->show(); |