IDE: fix exception when re-opening previously closed tab
Same as commit with same message, this time for tabs that are not POUs editors.
#!/usr/bin/env python# -*- coding: utf-8 -*-# This file is part of Beremiz# Copyright (C) 2019: Edouard TISSERANT## See COPYING file for copyrights details.from __future__ import absolute_importfrom svghmi.svghmi import *