Skip to content

Commit

Permalink
+ fix Debian bug #811200
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Feb 15, 2016
1 parent 1a64c3f commit 167b78e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Gui/FileDialog.cpp
Expand Up @@ -435,6 +435,10 @@ void FileOptionsDialog::accept()
else if (ext.toLower() != suf.toLower()) {
fn = QString::fromLatin1("%1.%2").arg(fn).arg(suf);
selectFile(fn);
// That's the built-in line edit (fixes Debian bug #811200)
QLineEdit* fileNameEdit = this->findChild<QLineEdit*>(QString::fromLatin1("fileNameEdit"));
if (fileNameEdit)
fileNameEdit->setText(fn);
}
}

Expand Down

0 comments on commit 167b78e

Please sign in to comment.