diff options
| author | Max Horn | 2003-03-09 00:39:16 +0000 | 
|---|---|---|
| committer | Max Horn | 2003-03-09 00:39:16 +0000 | 
| commit | f2cc6a3d7dd41e14d73c15d31f3fd1f5ebbd7b39 (patch) | |
| tree | 5432a2f859dee40c36da5c049a25eea14735684e | |
| parent | 6e18bdfdb36044320ee1973de58a2df713b056bf (diff) | |
| download | scummvm-rg350-f2cc6a3d7dd41e14d73c15d31f3fd1f5ebbd7b39.tar.gz scummvm-rg350-f2cc6a3d7dd41e14d73c15d31f3fd1f5ebbd7b39.tar.bz2 scummvm-rg350-f2cc6a3d7dd41e14d73c15d31f3fd1f5ebbd7b39.zip | |
only treat double clicks as double clicks, but not triple/quadruple/etc. clicks)
svn-id: r6781
| -rw-r--r-- | gui/ListWidget.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/gui/ListWidget.cpp b/gui/ListWidget.cpp index 146c1e56d5..0a1d67c6fa 100644 --- a/gui/ListWidget.cpp +++ b/gui/ListWidget.cpp @@ -118,7 +118,7 @@ void ListWidget::handleMouseDown(int x, int y, int button, int clickCount) {  void ListWidget::handleMouseUp(int x, int y, int button, int clickCount) {  	// If this was a double click and the mouse is still over the selected item,  	// send the double click command -	if (clickCount > 1 && (_selectedItem == (y - 1) / kLineHeight + _currentPos)) { +	if (clickCount == 2 && (_selectedItem == (y - 1) / kLineHeight + _currentPos)) {  		sendCommand(kListItemDoubleClickedCmd, _selectedItem);  	}  } | 
