mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06:00
Commented opening menubar item until its properly implemented.
This commit is contained in:
parent
950c216239
commit
876e6fdddd
4 changed files with 9 additions and 8 deletions
|
@ -379,12 +379,12 @@ void HintDatabase::load_hints_from_file(const boost::filesystem::path& path)
|
|||
wxGetApp().obj_list()->load_shape_object_from_gallery(); }
|
||||
};
|
||||
m_loaded_hints.emplace_back(hint_data);
|
||||
} else if (dict["hypertext_type"] == "menubar") {
|
||||
} /*else if (dict["hypertext_type"] == "menubar") {
|
||||
int menu = std::atoi(dict["hypertext_menubar_menu_id"].c_str());
|
||||
int item = std::atoi(dict["hypertext_menubar_item_id"].c_str());
|
||||
HintData hint_data{ id_string, text1, weight, was_displayed, hypertext_text, follow_text, disabled_tags, enabled_tags, true, documentation_link, [menu, item]() { wxGetApp().mainframe->open_menubar_item(menu, item); } };
|
||||
m_loaded_hints.emplace_back(hint_data);
|
||||
}
|
||||
}*/
|
||||
} else {
|
||||
// plain text without hypertext
|
||||
HintData hint_data{ id_string, text1, weight, was_displayed, hypertext_text, follow_text, disabled_tags, enabled_tags, false, documentation_link };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue