Warnings: remove empty code (#6577)

* Warnings: remove empty code
This commit is contained in:
Vovodroid 2024-09-07 13:18:35 +03:00 committed by GitHub
parent 82c90666da
commit 07d79376d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 0 additions and 29 deletions

View file

@ -708,13 +708,6 @@ wxMenuItem* MenuFactory::append_menu_item_settings(wxMenu* menu_)
if (sel_vol && sel_vol->type() >= ModelVolumeType::SUPPORT_ENFORCER)
return nullptr;
// Create new items for settings popupmenu
if (printer_technology() == ptFFF ||
(menu->GetMenuItems().size() > 0 && !menu->GetMenuItems().back()->IsSeparator()))
;// menu->SetFirstSeparator();
// detect itemm for adding of the setting
ObjectList* object_list = obj_list();
ObjectDataViewModel* obj_model = list_model();