--- a/LPCManager.py Fri Mar 31 14:44:20 2017 +0200
+++ b/LPCManager.py Fri Mar 31 14:46:24 2017 +0200
@@ -1118,6 +1118,12 @@
if self.OnlineMode == "NORMAL":
+ if self.IsPLCStarted(): + dialog = wx.MessageDialog(self.AppFrame, "You must stop the PLC before transfer. Do you want to stop it now and transfer?", style=wx.YES_NO|wx.CENTRE) + if dialog.ShowModal() == wx.ID_YES: ProjectController._Transfer(self)
if self.CurrentMode is None and self.OnlineMode != "OFF":