mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 17:50:19 +02:00
Applied patch from Ales Katona for bug #9932 which fixed a gtk-critical error
git-svn-id: trunk@12446 -
This commit is contained in:
parent
2b0f66359e
commit
5c4568ffc8
@ -1276,6 +1276,8 @@ begin
|
|||||||
then Exit;
|
then Exit;
|
||||||
|
|
||||||
GetCommonTreeViewWidgets(PGtkWidget(ALV.Handle), Widgets);
|
GetCommonTreeViewWidgets(PGtkWidget(ALV.Handle), Widgets);
|
||||||
|
if not GTK_WIDGET_REALIZED(Widgets^.MainView) then
|
||||||
|
gtk_widget_realize(Widgets^.MainView);
|
||||||
gtk_tree_view_scroll_to_point(PGtkTreeView(Widgets^.MainView), AValue.X, AValue.Y);
|
gtk_tree_view_scroll_to_point(PGtkTreeView(Widgets^.MainView), AValue.X, AValue.Y);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user