Options from the "Preferences" dialog added to the Search
Some code refactoring: * use GUI_App::open_preferences() on all places where it's needed * Preferences Dialog is an attribute of a ManeFrame class and created just ones during the MainFrame creation now. * Created class Highlighter. Use it in Preferences and Tab
This commit is contained in:
parent
1fe4ba289b
commit
f2aeca3a71
18 changed files with 520 additions and 480 deletions
|
@ -4010,8 +4010,11 @@ bool GLCanvas3D::_render_search_list(float pos_x)
|
|||
action_taken = true;
|
||||
else
|
||||
sidebar.jump_to_option(selected);*/
|
||||
if (selected != 9999)
|
||||
if (selected != 9999) {
|
||||
imgui->end(); // end imgui before the jump to option
|
||||
sidebar.jump_to_option(selected);
|
||||
return true;
|
||||
}
|
||||
action_taken = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue