changeset 36942:51c5ad2f0af3

Remove pointless btnModify() calls. These will be performed in the windows' draw handler prior to rendering anyway.
author ib
date Fri, 21 Mar 2014 15:50:59 +0000
parents 865e0513b5f4
children 4321338b4e8b
files gui/ui/main.c gui/ui/playbar.c
diffstat 2 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/main.c	Fri Mar 21 15:46:15 2014 +0000
+++ b/gui/ui/main.c	Fri Mar 21 15:50:59 2014 +0000
@@ -172,7 +172,6 @@
             if ( ( item->type == itHPotmeter )||( item->type == itVPotmeter ) )
              {
               item->value+=value;
-              btnModify( item->message,item->value );
               uiEvent( item->message,item->value );
              }
            }
--- a/gui/ui/playbar.c	Fri Mar 21 15:46:15 2014 +0000
+++ b/gui/ui/playbar.c	Fri Mar 21 15:50:59 2014 +0000
@@ -197,7 +197,6 @@
           if ( ( item->type == itHPotmeter )||( item->type == itVPotmeter ) )
            {
             item->value+=value;
-            btnModify( item->message,item->value );
             uiEvent( item->message,item->value );
            }
 	 }