Skip to content

Commit

Permalink
- default dir for openAnimationFile
Browse files Browse the repository at this point in the history
  • Loading branch information
vwaurich committed Sep 16, 2016
1 parent fee9b9c commit 1e1497a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OMEdit/OMEditGUI/Animation/AnimationWindow.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 1e1497a

Please sign in to comment.