Skip to content

Commit

Permalink
update tooltip on allies/private button on chat
Browse files Browse the repository at this point in the history
  • Loading branch information
jwrober committed Dec 9, 2022
1 parent af121a6 commit 90774bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/chatline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,11 @@ chat_widget::chat_widget(QWidget *parent)
priv ? QLatin1String("public") : QLatin1String("private");
cb->setIcon(fcIcons::instance()->getIcon(icon_name));
gui_options->gui_qt_allied_chat_only = priv;
if (cb->isChecked()) {
cb->setToolTip(_("Allies only"));
} else {
cb->setToolTip(_("Private"));
}
});
connect(chat_output, &QTextBrowser::anchorClicked, this,
&chat_widget::anchor_clicked);
Expand Down

0 comments on commit 90774bb

Please sign in to comment.