lpcmanager

Parents c097dedf00a4
Children 58b63de9a08f
"Manage Alarms" button opens a less dumb dialog... To show it is disabled.
--- a/LPCProjectController.py Mon Sep 07 15:20:00 2020 +0200
+++ b/LPCProjectController.py Tue Sep 08 10:06:15 2020 +0200
@@ -173,16 +173,16 @@
def _ManageAlarms(self):
dlg = wx.SingleChoiceDialog(
self.AppFrame,
- 'Test Single Choice', 'The Caption',
- ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight'],
+ 'Alarms translations', 'Choose a language to edit:',
+ ['TODO'],
wx.CHOICEDLG_STYLE)
if dlg.ShowModal() == wx.ID_OK:
- self.log.WriteText('You selected: %s\n' % dlg.GetStringSelection())
+ print('You selected: %s\n' % dlg.GetStringSelection())
+ # TODO XXX
dlg.Destroy()
- print("Manage alarms")
def _UpdateFw(self):
"""