[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58477] branches/soc-2013-ui_replay/source /blender/editors/interface/interface.c: Stripping shortcut before adding it again.

Vincent Akkermans vincent at ack-err.net
Sun Jul 21 17:14:33 CEST 2013


Revision: 58477
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58477
Author:   ack-err
Date:     2013-07-21 15:14:33 +0000 (Sun, 21 Jul 2013)
Log Message:
-----------
Stripping shortcut before adding it again. Without a shortcut appears twice on a button upon a mouse over.

Modified Paths:
--------------
    branches/soc-2013-ui_replay/source/blender/editors/interface/interface.c

Modified: branches/soc-2013-ui_replay/source/blender/editors/interface/interface.c
===================================================================
--- branches/soc-2013-ui_replay/source/blender/editors/interface/interface.c	2013-07-21 15:07:22 UTC (rev 58476)
+++ branches/soc-2013-ui_replay/source/blender/editors/interface/interface.c	2013-07-21 15:14:33 UTC (rev 58477)
@@ -913,7 +913,7 @@
 	for (but = block->buttons.first; but; but = but->next) {
 
 		if (ui_but_event_operator_string(C, but, buf, sizeof(buf))) {
-			ui_but_add_shortcut(but, buf, FALSE);
+			ui_but_add_shortcut(but, buf, TRUE);
 		}
 	}
 }




More information about the Bf-blender-cvs mailing list