This is to be able to set the script’s type to object, as it is required
to use them in reports but default to executable.
Unfortunately, this means that the property editor is also shown when
editing a query in SQL mode, somewhat uselessly as there is nothing to
change there. However, i think it is better to have that there than not
be able to change the script’s type.
Maybe KexiPart should have an isPropertyEditorAlwaysVisibleInTextMode