Fixed multiple segfaults
This commit is contained in:
parent
b4c35124c3
commit
2ad5684594
32 changed files with 1035 additions and 1010 deletions
|
|
@ -33,9 +33,9 @@ void EditTool::gui_toolbox() {
|
|||
if(objInfoBeingEdited)
|
||||
compEditTool->edit_gui(objInfoBeingEdited);
|
||||
else {
|
||||
t.gui.push_id("edit tool");
|
||||
text_label_centered(t.gui, "Edit");
|
||||
t.gui.pop_id();
|
||||
t.gui.new_id("edit tool", [&] {
|
||||
text_label_centered(t.gui, "Edit");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue