Reintroduced changes of MP spuriously removed by previous commit.

This commit is contained in:
Ludger Küperkoch 2017-06-29 16:41:09 +02:00
parent 1e99ae8272
commit 647cb1e32b

View File

@ -1361,8 +1361,8 @@ class PickDlg(QDialog):
}
if self.getPicks(picktype):
if phase is not None and type(self.getPicks(picktype)[phase]) is dict:
picks = self.getPicks(picktype)[phase]
colors = phase_col[phase[0].upper()]
+ picks = self.getPicks(picktype)[phase]
+ colors = phase_col[phase[0].upper()]
elif phase is None:
for phase in self.getPicks(picktype):
self.drawPicks(phase, picktype)