Version 1.3.7: Fix file dialog parent widget.

Regression was introduced in 67ea175fc6.

Fixes #4817.
This commit is contained in:
John Preston 2018-06-11 23:39:33 +03:00
parent b5bc7a22af
commit b0077d98f0

View file

@ -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(