Skip to content
Snippets Groups Projects
Commit 93d7b1b0 authored by Boman Romain's avatar Boman Romain
Browse files

fix model path & window raise

parent 5a978969
No related branches found
No related tags found
No related merge requests found
Pipeline #7115 passed
......@@ -44,7 +44,7 @@ class Window(QWidget, Ui_Form):
def default_inputfile(self):
testnames = [
os.path.join(os.path.dirname(__file__),'models','others','dolicorhynchops_10k.py'),
os.path.join(os.path.dirname(__file__),'models','others','dolicorhynchops','dolicorhynchops_10k.py'),
os.path.join(os.path.dirname(__file__),'models','dolicorhynchops','dolicorhynchops_10k.py'),
]
for name in testnames:
......@@ -302,6 +302,7 @@ if __name__ == "__main__":
win = Window()
win.setWindowTitle("Fossils")
win.show()
win.setWindowState(Qt.WindowActive) # try to make it appear above any other window (and particularly the console window)
app.lastWindowClosed.connect(app.quit)
app.exec_()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment