PuffinPlot issue tracker

Bug: a88/689

ID : 689075ee-5ec7-4cce-9952-7a9042a3c0cd
Short name : a88/689
Status : fixed
Severity : minor
Assigned :
Reporter : Pontus Lurcock <pont@talvi.net>
Creator : Pontus Lurcock <pont@talvi.net>
Created : Tue, 07 Feb 2012 03:33:41 +0000
Target : 1.0
Summary : Run script dialog: crash on ‘cancel’ [216]

Comment: --------- Comment ---------
ID: 5e63afaf-42df-47c1-9e0d-f4f9e7938672
Short name: a88/689/5e6
From: Pontus Lurcock <pont@talvi.net>
Date: Tue, 07 Feb 2012 03:33:41 +0000

If the user selects ‘Run Python script...’, then clicks on
‘Cancel’ rather than choosing a file, PuffinPlot will crash.

Comment: --------- Comment ---------
ID: 604166d1-da8d-4136-8684-7e51437afc2a
Short name: a88/689/604
From: Pontus Lurcock <pont@talvi.net>
Date: Tue, 07 Feb 2012 03:36:20 +0000

I had omitted to check whether the array of files was
empty before getting the first element. Now fixed 
(a one-liner).