[gimp] widgets: fix copy & paste error so it actually changes the device's keys now



commit 327b2426509cf610fd241a237a47ad8772a131e6
Author: Michael Natterer <mitch gimp org>
Date:   Fri Feb 12 21:39:38 2010 +0100

    widgets: fix copy & paste error so it actually changes the device's keys now

 app/widgets/gimpdeviceinfoeditor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpdeviceinfoeditor.c b/app/widgets/gimpdeviceinfoeditor.c
index 874b8c5..a958994 100644
--- a/app/widgets/gimpdeviceinfoeditor.c
+++ b/app/widgets/gimpdeviceinfoeditor.c
@@ -434,7 +434,7 @@ gimp_device_info_editor_key_edited (GtkCellRendererAccel *accel,
                           KEY_COLUMN_MASK, accel_mask,
                           -1);
 
-      gimp_device_info_set_key (private->info, index, 0, 0);
+      gimp_device_info_set_key (private->info, index, accel_key, accel_mask);
     }
 
   gtk_tree_path_free (path);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]