diff --git a/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp b/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp index 16e37a921..df4cfbe9a 100644 --- a/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp @@ -199,6 +199,9 @@ bool Get( const QString &filter, Type type, QString startFile) { + if (parent) { + parent = parent->window(); + } #ifndef TDESKTOP_DISABLE_GTK_INTEGRATION if (NativeSupported()) { return GetNative(