mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 23:09:16 +02:00
lcl: gtk2: fixed showing form modal, close, showing non modal, bug #23876
git-svn-id: trunk@40261 -
This commit is contained in:
parent
f088d7b509
commit
a8fa92ac7f
@ -692,6 +692,10 @@ begin
|
||||
begin
|
||||
gtk_window_set_transient_for(GtkWindow, nil);
|
||||
gtk_window_set_modal(GtkWindow, True);
|
||||
end else begin
|
||||
// see bug 23876
|
||||
gtk_window_set_transient_for(GtkWindow, nil); //untransient
|
||||
gtk_window_set_modal(GtkWindow, False);
|
||||
end;
|
||||
Gtk2WidgetSet.SetVisible(AWinControl, AForm.HandleObjectShouldBeVisible);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user