Commit dbee0004 authored by Domanski, Marian M.'s avatar Domanski, Marian M.
Browse files

change open file dialog titles

parent 6d542054
......@@ -442,7 +442,7 @@ class AppWindow(QMainWindow):
# File exploring dialog
dlg = QFileDialog()
file_path = dlg.getOpenFileName(
self, "QFileDialog.getOpenFileName()", "",
self, "Open CSV File", "",
"CSV File (*.csv)")[0]
if file_path == '':
return
......@@ -457,8 +457,8 @@ class AppWindow(QMainWindow):
# File exploring dialog
dlg = QFileDialog()
file_path = dlg.getOpenFileName(
self, "QFileDialog.getOpenFileName()", "",
"HECRAS Project File (*.prj)")[0]
self, "Open HEC-RAS Project File", "",
"HEC-RAS Project File (*.prj)")[0]
self.ui.lineEdit_hecras.setText(file_path)
# Hecras dialog
......
Supports Markdown
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