mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 17:59:20 +02:00
LCL-GTK2: Prevent a warning caused by a popup menu code. Issue #38402, patch from Petr-K.
git-svn-id: trunk@64473 -
This commit is contained in:
parent
cfa3bf0135
commit
bef5ada271
@ -1782,6 +1782,7 @@ begin
|
||||
g_signal_connect_after(AMenu, 'selection-done', G_CALLBACK(@GtkPopupHideCB), AWidgetInfo);
|
||||
end;
|
||||
|
||||
if TCustomComboBox(AWinControl).Style.HasEditBox then
|
||||
g_signal_connect_after(PGtkObject(GTK_BIN(ComboWidget)^.child), 'populate-popup',
|
||||
gtk_signal_func(@gtkDefaultPopupMenuCloseFix), AWidgetInfo);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user