Skip to content

Commit

Permalink
Fixes lin errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pedropalau committed Jul 10, 2020
1 parent c16ef9e commit ac4e444
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Adds developer documentation about how to translate wahay and how to translate new strings.
4 changes: 2 additions & 2 deletions gui/hosting.go
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ func (h *hostData) showMeetingConfiguration() {
h.handlerOnAutoJoinToggled(chkAutoJoin, btnStart)
},
"on_chkAutoJoinSuperUser_toggled": func() {
h.handlerOnAutoJoinSuperUserToggled(chkAutoJoinSuperUser, btnCopyMeetingID)
h.handlerOnAutoJoinSuperUserToggled(chkAutoJoinSuperUser)
h.updateSuperUserControls(username, h.asSuperUser)
},
})
Expand Down Expand Up @@ -549,7 +549,7 @@ func (h *hostData) handlerOnCancel() {
h.u.switchToMainWindow()
}

func (h *hostData) handlerOnAutoJoinSuperUserToggled(ch gtki.CheckButton, b gtki.Button) {
func (h *hostData) handlerOnAutoJoinSuperUserToggled(ch gtki.CheckButton) {
h.asSuperUser = ch.GetActive()
h.u.config.SetAutoJoinSuperUser(h.asSuperUser)
}
Expand Down

0 comments on commit ac4e444

Please sign in to comment.