[bugfix] do not try to give a full filepath for searching issue

This commit is contained in:
Sebastian Wehling-Benatelli 2016-09-19 11:33:08 +02:00
parent 8d37e9299c
commit 5155efc710

View File

@ -520,7 +520,7 @@ class MainWindow(QMainWindow):
def getSavePath(e):
print('warning: {0}'.format(e))
directory = os.path.join(self.getRoot(), self.getEventFileName())
directory = os.path.realpath(self.getRoot())
file_filter = "QuakeML file (*.xml);;VELEST observation file " \
"format (*.cnv);;NonLinLoc observation file (*.obs)"
title = 'Save event data ...'