From 1e1497aee9e2b217559b15d9de2c0b2c5cb16c70 Mon Sep 17 00:00:00 2001 From: vwaurich Date: Fri, 16 Sep 2016 08:36:58 +0200 Subject: [PATCH] - default dir for openAnimationFile --- OMEdit/OMEditGUI/Animation/AnimationWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OMEdit/OMEditGUI/Animation/AnimationWindow.cpp b/OMEdit/OMEditGUI/Animation/AnimationWindow.cpp index 55cd4809cc9..cdd47149e59 100644 --- a/OMEdit/OMEditGUI/Animation/AnimationWindow.cpp +++ b/OMEdit/OMEditGUI/Animation/AnimationWindow.cpp @@ -204,8 +204,9 @@ void AnimationWindow::loadVisualization() */ void AnimationWindow::chooseAnimationFileSlotFunction() { + QString *dir = new QString("./"); std::string file = StringHandler::getOpenFileName(this, QString(Helper::applicationName).append(" - ").append(Helper::chooseFile), - NULL, Helper::matFileTypes, NULL).toStdString(); + dir, Helper::matFileTypes, NULL).toStdString(); if (file.compare("")) { std::size_t pos = file.find_last_of("/\\"); mPathName = file.substr(0, pos + 1);