Changeset c7b50aba340496a1db3f3917bc978c20d7baff2b

Show
Ignore:
Timestamp:
09/21/08 16:33:01 (5 years ago)
Author:
Armin Burgmeier <armin@…>
Parents:
ff49ce1b0bc1a194fc0d36a724795cdfa09b319a
Children:
2918b58aa09eabb3be920ab555e3e7ad0aeb1687
git-committer:
Armin Burgmeier <armin@arbur.net> / 2008-09-21T16:33:01Z+0200
Message:

Don't notify option if the option value did not change

2008-09-21 Armin Burgmeier <armin@…>

  • inc/dialogs/preferenceswindow.hpp: Don't notify option if the newly selected option is the same as the already selected one.
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rff49ce1 rc7b50ab  
     12008-09-21  Armin Burgmeier  <armin@arbur.net> 
     2 
     3        * inc/dialogs/preferenceswindow.hpp: Don't notify option if the newly 
     4        selected option is the same as the already selected one. 
     5 
    162008-09-21  Armin Burgmeier  <armin@arbur.net> 
    27 
  • inc/dialogs/preferencesdialog.hpp

    ra2a811e rc7b50ab  
    7878        { 
    7979                Gtk::ComboBox::on_changed(); 
    80                 m_option = (*get_active())[m_columns.value]; 
     80                OptionType value = (*get_active())[m_columns.value]; 
     81 
     82                if(m_option != value) 
     83                        m_option = value; 
    8184        } 
    8285