[bugfix] do not try to give a full filepath for searching issue
This commit is contained in:
parent
8d37e9299c
commit
5155efc710
@ -520,7 +520,7 @@ class MainWindow(QMainWindow):
|
|||||||
|
|
||||||
def getSavePath(e):
|
def getSavePath(e):
|
||||||
print('warning: {0}'.format(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 " \
|
file_filter = "QuakeML file (*.xml);;VELEST observation file " \
|
||||||
"format (*.cnv);;NonLinLoc observation file (*.obs)"
|
"format (*.cnv);;NonLinLoc observation file (*.obs)"
|
||||||
title = 'Save event data ...'
|
title = 'Save event data ...'
|
||||||
|
Loading…
Reference in New Issue
Block a user