Simplified file selection filter for well path import

p4#: 22142
This commit is contained in:
Magne Sjaastad
2013-08-08 17:23:31 +02:00
parent 562dfb0135
commit ff45f6885e

View File

@@ -789,7 +789,7 @@ void RiuMainWindow::slotImportWellPathsFromFile()
// Open dialog box to select well path files // Open dialog box to select well path files
RiaApplication* app = RiaApplication::instance(); RiaApplication* app = RiaApplication::instance();
QString defaultDir = app->defaultFileDialogDirectory("WELLPATH_DIR"); QString defaultDir = app->defaultFileDialogDirectory("WELLPATH_DIR");
QStringList wellPathFilePaths = QFileDialog::getOpenFileNames(this, "Import Well Paths", defaultDir, "JSON Well Path (*.json);;ASCII Well Paths (*.asc *.asci *.ascii);;Dev Well Paths(*.dev);;All Files (*.*)"); QStringList wellPathFilePaths = QFileDialog::getOpenFileNames(this, "Import Well Paths", defaultDir, "Well Paths (*.json *.asc *.asci *.ascii *.dev);;All Files (*.*)");
if (wellPathFilePaths.size() < 1) return; if (wellPathFilePaths.size() < 1) return;