diff options
author | Max Horn | 2004-11-21 13:39:54 +0000 |
---|---|---|
committer | Max Horn | 2004-11-21 13:39:54 +0000 |
commit | 879431e76b57db9d7efbe993c1edd11d712d2747 (patch) | |
tree | 5228ffe0fe0dc709bb4fa6a48d8b93a67d00bf55 /gui | |
parent | 01cb15b9b272301d5d135c66caa9ee02d1f62b08 (diff) | |
download | scummvm-rg350-879431e76b57db9d7efbe993c1edd11d712d2747.tar.gz scummvm-rg350-879431e76b57db9d7efbe993c1edd11d712d2747.tar.bz2 scummvm-rg350-879431e76b57db9d7efbe993c1edd11d712d2747.zip |
Fixed behaviour of return key in the file browser
svn-id: r15852
Diffstat (limited to 'gui')
-rw-r--r-- | gui/browser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/browser.cpp b/gui/browser.cpp index 5755f1fe18..1388aabf87 100644 --- a/gui/browser.cpp +++ b/gui/browser.cpp @@ -140,6 +140,7 @@ BrowserDialog::BrowserDialog(const char *title) // Add file list _fileList = new ListWidget(this, 10, 34, _w - 2 * 10, _h - 34 - 24 - 10); _fileList->setNumberingMode(kListNumberingOff); + _fileList->setEditable(false); // Buttons addButton(10, _h - 24, "Go up", kGoUpCmd, 0); @@ -180,6 +181,7 @@ void BrowserDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data _node = _node.getParent(); updateListing(); break; + case kListItemActivatedCmd: case kListItemDoubleClickedCmd: _node = _nodeContent[data]; updateListing(); |