When there are not the conditions to open a specific new item editor (eg. when there are no event-based conditions and the user tries to create a new event), the editor dialog box is suppressed: in this case an exception is thrown showing that the new_item variable is not assigned. The exception text appears at the console: it just should be avoided.
When there are not the conditions to open a specific new item editor (eg. when there are no event-based conditions and the user tries to create a new event), the editor dialog box is suppressed: in this case an exception is thrown showing that the
new_item
variable is not assigned. The exception text appears at the console: it just should be avoided.