More clear identification if is there object selected
This commit is contained in:
parent
284355d378
commit
a12e6a7bde
1 changed files with 2 additions and 1 deletions
|
@ -1401,7 +1401,8 @@ wxMenuItem* ObjectList::append_menu_item_settings(wxMenu* menu_)
|
|||
menu->SetFirstSeparator();
|
||||
|
||||
// Add frequently settings
|
||||
create_freq_settings_popupmenu(menu, sel_vol==nullptr);
|
||||
const bool is_object_settings = m_objects_model->GetItemType(GetSelection()) == itObject;
|
||||
create_freq_settings_popupmenu(menu, is_object_settings);
|
||||
|
||||
if (mode == comAdvanced)
|
||||
return nullptr;
|
||||
|
|
Loading…
Reference in a new issue