runtime/PlcStatus.py
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Thu, 14 Feb 2019 10:02:58 +0300
changeset 2509 9c5f835b031e
parent 2416 1ca207782dde
permissions -rw-r--r--
Fix redraw problems in preview frames and debug panel

The problem was that direct call of RefreshView (now DrawView) doesn't
generate EVT_PAINT (at least on GNU/Linux with Wayland and wxgtk build
with gtk3+ support).
Now RefreshView simply triggers EVT_PAINT and EVT_PAINT handler does actual work.
# -*- coding: utf-8 -*-

# See COPYING.Runtime file for copyrights details.


def _(x):
    """No translation"""
    return x


Broken = _("Broken")
Started = _("Started")
Stopped = _("Stopped")
Disconnected = _("Disconnected")
Empty = _("Empty")