diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2017-12-20 23:11:30 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2017-12-20 23:11:30 +0000 |
| commit | cabdde6554a95e6d0fee5ab39f850f7645df3cbb (patch) | |
| tree | f85847d899169d369929df0f570e40c871c5c361 /src/extension/effect.cpp | |
| parent | Effects: make "Working..." dialog transient for preferences dialog (diff) | |
| download | inkscape-cabdde6554a95e6d0fee5ab39f850f7645df3cbb.tar.gz inkscape-cabdde6554a95e6d0fee5ab39f850f7645df3cbb.zip | |
Make script warnings transient for "Working..." dialog
This turned out to be a bit of a mess due to the interplay between
the classes Script / ExecutionEnv / Effect / PrefDialog.
(Basically they don't talk to each other much but all want to
contribute to the GUI)
Likely "Script" (and possibly "ExecutionEnv") should be refactored
to let the other classes handle UI exclusively and throw errors
where suitable.
Diffstat (limited to 'src/extension/effect.cpp')
| -rw-r--r-- | src/extension/effect.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp index 38e437ac9..93b940732 100644 --- a/src/extension/effect.cpp +++ b/src/extension/effect.cpp @@ -274,6 +274,7 @@ Effect::effect (Inkscape::UI::View::View * doc) ExecutionEnv executionEnv(this, doc); + execution_env = &executionEnv; timer->lock(); executionEnv.run(); if (executionEnv.wait()) { |
