aboutsummaryrefslogtreecommitdiff
path: root/gui/massadd.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2010-06-15 10:52:35 +0000
committerEugene Sandulenko2010-06-15 10:52:35 +0000
commit01f9006ee7e8d0fd153f42fb00afbc25c4804d2b (patch)
tree774725290301c00c9e362a38fd917ea9b28db978 /gui/massadd.cpp
parentea7405d7ef177a547d840424497d2f7ffd72626b (diff)
downloadscummvm-rg350-01f9006ee7e8d0fd153f42fb00afbc25c4804d2b.tar.gz
scummvm-rg350-01f9006ee7e8d0fd153f42fb00afbc25c4804d2b.tar.bz2
scummvm-rg350-01f9006ee7e8d0fd153f42fb00afbc25c4804d2b.zip
GUI: Implement tooltips. FR #2821513.
FR #2821513: "GUI: add tooltips". Added tooltips for Add Game button, clear field buttons and couple other. Current problem: Only first call correctly restores text. I could not find where restore information gets lost. svn-id: r49774
Diffstat (limited to 'gui/massadd.cpp')
-rw-r--r--gui/massadd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/massadd.cpp b/gui/massadd.cpp
index 36efdfdd59..b981520cdc 100644
--- a/gui/massadd.cpp
+++ b/gui/massadd.cpp
@@ -89,10 +89,10 @@ MassAddDialog::MassAddDialog(const Common::FSNode &startDir)
_list->setNumberingMode(kListNumberingOff);
_list->setList(l);
- _okButton = new ButtonWidget(this, "MassAdd.Ok", _("OK"), kOkCmd, Common::ASCII_RETURN);
+ _okButton = new ButtonWidget(this, "MassAdd.Ok", _("OK"), 0, kOkCmd, Common::ASCII_RETURN);
_okButton->setEnabled(false);
- new ButtonWidget(this, "MassAdd.Cancel", _("Cancel"), kCancelCmd, Common::ASCII_ESCAPE);
+ new ButtonWidget(this, "MassAdd.Cancel", _("Cancel"), 0, kCancelCmd, Common::ASCII_ESCAPE);
// Build a map from all configured game paths to the targets using them
const Common::ConfigManager::DomainMap &domains = ConfMan.getGameDomains();