Changeset c7b50aba340496a1db3f3917bc978c20d7baff2b
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
rff49ce1
|
rc7b50ab
|
|
| | 1 | 2008-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 | |
| 1 | 6 | 2008-09-21 Armin Burgmeier <armin@arbur.net> |
| 2 | 7 | |
-
|
ra2a811e
|
rc7b50ab
|
|
| 78 | 78 | { |
| 79 | 79 | 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; |
| 81 | 84 | } |
| 82 | 85 | |