Skip to content

Commit cefe08a

Browse files
authored
Make configuration of addChannelButton more explicit (#3475)
1 parent 46b4611 commit cefe08a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/getting-started/tutorial/flow/second-view.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ private void addChannel() {
138138
<3> The easiest way to get the new channel to display in the list is to refresh the entire list. This function does that.
139139
<4> This re-enables the button so that it's ready for another channel to be added (because you set its [propertyname]`disableOnClick` property to `true` earlier).
140140

141-
Now that the method for adding a new channel is ready, you'll need to call it when the [methodname]`addChannelButton()` (i.e., the [guibutton]*Add New Channel* button) is clicked by the user. You'd do that like this:
141+
Now that the method for adding a new channel is ready, you'll need to call it when the [fieldname]`addChannelButton` (i.e., the [guibutton]*Add New Channel* button) is clicked by the user. Locate the [classname]`LobbyView` constructor and the line where [fieldname]`addChannelButton` is created. Change the line like this:
142142

143143
[source,java]
144144
----

0 commit comments

Comments
 (0)