mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 21:55:43 +01:00
[Summary] Making the code less WARNING-ed and more READABLE.
This commit is contained in:
parent
eb7fee1c4d
commit
9617b25e4c
1 changed files with 2 additions and 2 deletions
|
|
@ -103,8 +103,8 @@ WavesDropdown::set_current_item (int current_item_number)
|
|||
|
||||
Gtk::Menu_Helpers::MenuList::iterator prev_current_item = items.begin();
|
||||
std::advance (prev_current_item, _current_item_number);
|
||||
Gtk::RadioMenuItem* radio_menu_item;
|
||||
if (radio_menu_item = dynamic_cast <Gtk::RadioMenuItem*> (&(*prev_current_item)) ) {
|
||||
Gtk::RadioMenuItem* radio_menu_item = dynamic_cast <Gtk::RadioMenuItem*> (&(*prev_current_item));
|
||||
if (radio_menu_item) {
|
||||
radio_menu_item->set_active (false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue