diff --git a/src/Mod/Ship/shipLoadExample/TaskPanel.py b/src/Mod/Ship/shipLoadExample/TaskPanel.py index 23f5f85b1..1f6cd9f93 100644 --- a/src/Mod/Ship/shipLoadExample/TaskPanel.py +++ b/src/Mod/Ship/shipLoadExample/TaskPanel.py @@ -35,6 +35,11 @@ class TaskPanel: self.ui = Paths.modulePath() + "/shipLoadExample/TaskPanel.ui" def accept(self): + path = Paths.modulePath() + "/Examples/" + if(self.form.ship.currentIndex() == 0): # s60 from Iowa University + App.open(path + "s60.fcstd") + elif(self.form.ship.currentIndex() == 1): # Barehull 5415 + App.open(path + "barehull5415.fcstd") return True def reject(self):