[Scummvm-cvs-logs] scummvm master -> 0e0eddbab333589759480941b5e01bbe77413ac8

tsoliman tarek at bashasoliman.com
Fri Dec 30 20:15:01 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
0e0eddbab3 KEYMAPPER: Fix clear button behavior in remap dialog


Commit: 0e0eddbab333589759480941b5e01bbe77413ac8
    https://github.com/scummvm/scummvm/commit/0e0eddbab333589759480941b5e01bbe77413ac8
Author: Tarek Soliman (tsoliman at scummvm.org)
Date: 2011-12-30T11:13:41-08:00

Commit Message:
KEYMAPPER: Fix clear button behavior in remap dialog

This is a regression from 1b11139dc53da2dc95f74eb19e3a903d7d786f84

Changed paths:
    backends/keymapper/remap-dialog.cpp



diff --git a/backends/keymapper/remap-dialog.cpp b/backends/keymapper/remap-dialog.cpp
index 4813beb..93b8725 100644
--- a/backends/keymapper/remap-dialog.cpp
+++ b/backends/keymapper/remap-dialog.cpp
@@ -172,7 +172,7 @@ void RemapDialog::reflowLayout() {
 				new GUI::StaticTextWidget(this, 0, 0, 0, 0, "", Graphics::kTextAlignRight);
 			widg.keyButton =
 				new GUI::ButtonWidget(this, 0, 0, 0, 0, "", 0, kRemapCmd + i);
-			widg.clearButton = addClearButton(this, "", kClearCmd, 0, 0, clearButtonWidth, clearButtonHeight);
+			widg.clearButton = addClearButton(this, "", kClearCmd + i, 0, 0, clearButtonWidth, clearButtonHeight);
 			_keymapWidgets.push_back(widg);
 		} else {
 			widg = _keymapWidgets[i];






More information about the Scummvm-git-logs mailing list