Removed obsolete keyboard shortcut from tooltip and redundant colon, branch_3.0, issue 718
This commit is contained in:
@@ -138,8 +138,8 @@ void PopUpCommon::show() {
|
||||
}
|
||||
|
||||
void PopUpCommon::setButtonHint() {
|
||||
Glib::ustring hint = buttonHint.size() ? buttonHint + " : " + sItems.at(selected) : sItems.at(selected);
|
||||
if (hasMenu) hint += "\n(" + M("POPUPBUTTON_SELECTOPTIONHINT") + ")";
|
||||
Glib::ustring hint = buttonHint.size() ? buttonHint + " " + sItems.at(selected) : sItems.at(selected);
|
||||
// if (hasMenu) hint += "\n(" + M("POPUPBUTTON_SELECTOPTIONHINT") + ")";
|
||||
button->set_tooltip_text(hint);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user