2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

good extension handling in Save As done

This commit is contained in:
John Preston
2015-10-18 13:38:00 +02:00
parent 1f16e50c30
commit e14464162e
3 changed files with 35 additions and 5 deletions

View File

@@ -496,7 +496,7 @@ void MediaView::onSaveAs() {
}
if (pattern.isEmpty()) {
filter = qsl("All files (*.*)");
filter = QString();
} else {
filter = mimeType.filterString() + qsl(";;All files (*.*)");
}