Go from <expression>,<comment> to <comment>\n<expression>
Bug: 13814
Change-Id: I842e38798eba7ff87751733ce0b2befdc9c8c27f
Reviewed-on: https://code.wireshark.org/review/22395
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
gtk_widget_set_sensitive(GTK_WIDGET(button), TRUE);
if (strlen(fe->comment) > 0)
{
- tooltip = g_strdup_printf("%s, %s", fe->expression, fe->comment);
+ tooltip = g_strdup_printf("%s\n%s", fe->comment, fe->expression);
gtk_widget_set_tooltip_text(GTK_WIDGET(button), tooltip);
}
else
QAction *dfb_action = new QAction(fe->label, data->window->filter_expression_toolbar_);
if (strlen(fe->comment) > 0)
{
- QString tooltip = QString("%1, %2").arg(fe->expression).arg(fe->comment);
+ QString tooltip = QString("%1\n%2").arg(fe->comment).arg(fe->expression);
dfb_action->setToolTip(tooltip);
}
else