diff options
author | Eugene Sandulenko | 2010-06-15 10:52:35 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-06-15 10:52:35 +0000 |
commit | 01f9006ee7e8d0fd153f42fb00afbc25c4804d2b (patch) | |
tree | 774725290301c00c9e362a38fd917ea9b28db978 /gui/chooser.cpp | |
parent | ea7405d7ef177a547d840424497d2f7ffd72626b (diff) | |
download | scummvm-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/chooser.cpp')
-rw-r--r-- | gui/chooser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/chooser.cpp b/gui/chooser.cpp index 7039e40947..a7b453c957 100644 --- a/gui/chooser.cpp +++ b/gui/chooser.cpp @@ -46,8 +46,8 @@ ChooserDialog::ChooserDialog(const String &title, String dialogId) _list->setEditable(false); // Buttons - new ButtonWidget(this, dialogId + ".Cancel", _("Cancel"), kCloseCmd); - _chooseButton = new ButtonWidget(this, dialogId + ".Choose", _("Choose"), kChooseCmd); + new ButtonWidget(this, dialogId + ".Cancel", _("Cancel"), 0, kCloseCmd); + _chooseButton = new ButtonWidget(this, dialogId + ".Choose", _("Choose"), 0, kChooseCmd); _chooseButton->setEnabled(false); } |