mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 01:19:16 +02:00
Gtk2: do not set widget name, it's completelly unnecessary and produce unexpected behaviour if some keywords are in widget name.issue #21661
git-svn-id: trunk@36608 -
This commit is contained in:
parent
af2f01c513
commit
8b863c792d
@ -918,7 +918,8 @@ begin
|
||||
if (AComponent<>nil) and (AComponent.Name<>'') then
|
||||
RCName:=AComponent.Name+'_'+RCName;
|
||||
end;
|
||||
gtk_widget_set_name(AWidget,PChar(RCName));
|
||||
// do not set widget name issue #21661
|
||||
// gtk_widget_set_name(AWidget,PChar(RCName));
|
||||
//debugln('Set_RC_Name ',GetWidgetDebugReport(AWidget),' RCName="',RCName,'"');
|
||||
gtk_widget_set_rc_style(AWidget);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user