Comment 0 for bug 765601

Revision history for this message
David Nicolson (david-nicolson) wrote :

Binary package hint: spe

I added argument recall to the Run.../stop dialog.
I did this by changing dialog/runDialog.py
From:
        self.arguments = wx.ComboBox(self, -1, choices = [], style=wx.CB_DROPDOWN)
To:
        self.arguments = wx.ComboBox(self, -1, choices = runPreviousArguments, style=wx.CB_DROPDOWN)

And also changed Parent.py by adding a line of code thus:

From:
           arguments = runDialog.arguments.GetValue()
           beep = runDialog.beep.GetValue()

To:
           arguments = runDialog.arguments.GetValue()
           self.argumentsPrevious.append(arguments)
           beep = runDialog.beep.GetValue()