# HG changeset patch # User Edouard Tisserant # Date 1591090490 -7200 # Node ID 269149e78302ae72930b918e35a277267e22627a # Parent 231f8bd2cd7de5282f3829dbaa577e8c0628b6a9 IDE: Main toolbar : Show repair button also in stop mode. Move repair button after disconnect button. diff -r 231f8bd2cd7d -r 269149e78302 ProjectController.py --- a/ProjectController.py Mon Jun 01 14:47:31 2020 +0200 +++ b/ProjectController.py Tue Jun 02 11:34:50 2020 +0200 @@ -1442,7 +1442,8 @@ PlcStatus.Stopped: {"_Run": True, "_Transfer": True, "_Connect": False, - "_Disconnect": True}, + "_Disconnect": True, + "_Repair": True}, PlcStatus.Empty: {"_Transfer": True, "_Connect": False, "_Disconnect": True}, @@ -1979,6 +1980,13 @@ "shown": False, }, { + "bitmap": "Disconnect", + "name": _("Disconnect"), + "tooltip": _("Disconnect from PLC"), + "method": "_Disconnect", + "shown": False, + }, + { "bitmap": "Repair", "name": _("Repair"), "tooltip": _("Repair broken PLC"), @@ -1986,13 +1994,6 @@ "shown": False, }, { - "bitmap": "Disconnect", - "name": _("Disconnect"), - "tooltip": _("Disconnect from PLC"), - "method": "_Disconnect", - "shown": False, - }, - { "bitmap": "IDManager", "name": _("ID Manager"), "tooltip": _("Manage secure connection identities"),