Updated examples loader in order to allow load s60 katamaran version.
This commit is contained in:
parent
84c33bffde
commit
cc36febead
|
@ -40,6 +40,8 @@ class TaskPanel:
|
||||||
App.open(path + "s60.fcstd")
|
App.open(path + "s60.fcstd")
|
||||||
elif(self.form.ship.currentIndex() == 1): # Barehull 5415
|
elif(self.form.ship.currentIndex() == 1): # Barehull 5415
|
||||||
App.open(path + "barehull5415.fcstd")
|
App.open(path + "barehull5415.fcstd")
|
||||||
|
elif(self.form.ship.currentIndex() == 2): # s60 (Katamaran)
|
||||||
|
App.open(path + "s60_katamaran.fcstd")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def reject(self):
|
def reject(self):
|
||||||
|
|
|
@ -84,6 +84,11 @@
|
||||||
<string>Barehull 5145</string>
|
<string>Barehull 5145</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Serie 60 (Katamaran)</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user