GUI: Add tooltips to Cancel/Apply/OK buttons in Options. Bugreport #10313

This commit is contained in:
Eugene Sandulenko 2021-04-20 00:09:12 +02:00
parent 50b97c723a
commit edef02acda
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -1953,9 +1953,9 @@ void GlobalOptionsDialog::build() {
_tabWidget = tab; _tabWidget = tab;
// Add OK & Cancel buttons // Add OK & Cancel buttons
new ButtonWidget(this, "GlobalOptions.Cancel", _("Cancel"), Common::U32String(), kCloseCmd); new ButtonWidget(this, "GlobalOptions.Cancel", _("Cancel"), _("Discard changes and close the dialog"), kCloseCmd);
new ButtonWidget(this, "GlobalOptions.Apply", _("Apply"), Common::U32String(), kApplyCmd); new ButtonWidget(this, "GlobalOptions.Apply", _("Apply"), _("Apply changes without closing the dialog"), kApplyCmd);
new ButtonWidget(this, "GlobalOptions.Ok", _("OK"), Common::U32String(), kOKCmd); new ButtonWidget(this, "GlobalOptions.Ok", _("OK"), _("Apply changes and close the dialog"), kOKCmd);
#ifdef USE_FLUIDSYNTH #ifdef USE_FLUIDSYNTH
_fluidSynthSettingsDialog = new FluidSynthSettingsDialog(); _fluidSynthSettingsDialog = new FluidSynthSettingsDialog();