beremiz
Clone
Summary
Browse
Changes
Graph
IDE: fix exception when re-opening previously closed tab
wxPython4
2023-03-12, Edouard Tisserant
1db10e9df882
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 -*-
# See COPYING.Runtime file for copyrights details.
LogLevels = ["CRITICAL", "WARNING", "INFO", "DEBUG"]
LogLevelsCount = len(LogLevels)
LogLevelsDict = dict(zip(LogLevels, range(LogLevelsCount)))
LogLevelsDefault = LogLevelsDict["DEBUG"]