From b0077d98f0a620ec0755d537ed643e1a2e09dfb6 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 11 Jun 2018 23:39:33 +0300 Subject: [PATCH] Version 1.3.7: Fix file dialog parent widget. Regression was introduced in 67ea175fc6. Fixes #4817. --- Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp | 3 +++ 1 file changed, 3 insertions(+) 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(