mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 10:11:41 -05:00
Version 1.3.7: Fix file dialog parent widget.
Regression was introduced in 67ea175fc6
.
Fixes #4817.
This commit is contained in:
parent
b5bc7a22af
commit
b0077d98f0
1 changed files with 3 additions and 0 deletions
|
@ -199,6 +199,9 @@ bool Get(
|
||||||
const QString &filter,
|
const QString &filter,
|
||||||
Type type,
|
Type type,
|
||||||
QString startFile) {
|
QString startFile) {
|
||||||
|
if (parent) {
|
||||||
|
parent = parent->window();
|
||||||
|
}
|
||||||
#ifndef TDESKTOP_DISABLE_GTK_INTEGRATION
|
#ifndef TDESKTOP_DISABLE_GTK_INTEGRATION
|
||||||
if (NativeSupported()) {
|
if (NativeSupported()) {
|
||||||
return GetNative(
|
return GetNative(
|
||||||
|
|
Loading…
Add table
Reference in a new issue