Commit fef4e6b0 authored by vdalv's avatar vdalv Committed by darrenl
Browse files

Fix file save issue - #293

parent 542b87fd
......@@ -1277,7 +1277,8 @@ class MainWindow(QMainWindow, WindowMixin):
dlg.setOption(QFileDialog.DontUseNativeDialog, False)
if dlg.exec_():
return dlg.selectedFiles()[0]
fullFilePath = dlg.selectedFiles()[0]
return os.path.splitext(fullFilePath)[0] # Return file path without the extension.
return ''
def _saveFile(self, annotationFilePath):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment