mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Search: Code cleaning
+ Reverted "Plater" tab to the Settings Notepad
This commit is contained in:
@@ -4519,18 +4519,15 @@ bool GLCanvas3D::_render_search_list(float pos_x) const
|
||||
|
||||
imgui->search_list(ImVec2(45 * em, 30 * em), &search_string_getter, s,
|
||||
sidebar.get_searcher().view_params,
|
||||
selected, edited, check_changed);
|
||||
selected, edited);
|
||||
|
||||
search_line = s;
|
||||
delete [] s;
|
||||
|
||||
if (edited)
|
||||
sidebar.search_and_apply_tab_search_lines();
|
||||
|
||||
if (check_changed) {
|
||||
if (edited) {
|
||||
if (search_line == _u8L("Type here to search"))
|
||||
search_line.clear();
|
||||
sidebar.search_and_apply_tab_search_lines(true);
|
||||
sidebar.search();
|
||||
}
|
||||
|
||||
if (selected != size_t(-1))
|
||||
@@ -5261,6 +5258,9 @@ bool GLCanvas3D::_init_collapse_toolbar()
|
||||
if (!m_collapse_toolbar.add_item(item))
|
||||
return false;
|
||||
|
||||
if (!m_collapse_toolbar.add_separator())
|
||||
return false;
|
||||
|
||||
item.name = "print";
|
||||
item.icon_filename = "cog.svg";
|
||||
item.tooltip = _utf8(L("Switch to Print Settings")) + " [" + GUI::shortkey_ctrl_prefix() + "2]";
|
||||
|
||||
Reference in New Issue
Block a user