#2997: python editor refuses to run script with UI after closing GUI dialog
--------------------------+----------------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: closed
Priority: normal | Milestone: 7.2.0
Component: wxGUI | Version: unspecified
Resolution: fixed | Keywords: python, editor
CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------
Changes (by wenzeslaus):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"68396" 68396]:
{{{
#!CommitTicketReference repository="" revision="68396"
pyedit: do not use onDone because it is not executed when GUI is invoked
(fixes #2997)
Now you can run again even if it is already running
which is the same behavior as for normal module calls.
It also uses the same temporary file once it was created
to avoid the need to delete it all the time. It is deleted
when file is actually saved.
Also remove suppression of the GUI interface because we
actually want to get GUI (the parameter does not work, r68395).
}}}