File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ EditorToolboxWidget::on_mouse_button_down(const SDL_MouseButtonEvent& button)
129129 {
130130 m_editor.disable_keyboard ();
131131 MenuManager::instance ().push_menu (MenuStorage::EDITOR_TILEGROUP_MENU);
132- MenuManager::instance ().current_menu ()->set_item (m_tilebox->get_tilegroup_id ());
132+ MenuManager::instance ().current_menu ()->set_item (m_tilebox->get_tilegroup_id ());
133133 }
134134 else
135135 {
@@ -143,7 +143,7 @@ EditorToolboxWidget::on_mouse_button_down(const SDL_MouseButtonEvent& button)
143143 {
144144 m_editor.disable_keyboard ();
145145 MenuManager::instance ().push_menu (MenuStorage::EDITOR_OBJECTGROUP_MENU);
146- MenuManager::instance ().current_menu ()->set_item (m_tilebox->get_objectgroup_id ());
146+ MenuManager::instance ().current_menu ()->set_item (m_tilebox->get_objectgroup_id ());
147147 }
148148 else
149149 {
@@ -347,13 +347,13 @@ EditorToolboxWidget::select_objectgroup(int id)
347347void
348348EditorToolboxWidget::select_last_tilegroup ()
349349{
350- m_tilebox ->select_last_tilegroup ();
350+ Editor::current () ->select_last_tilegroup ();
351351}
352352
353353void
354354EditorToolboxWidget::select_last_objectgroup ()
355355{
356- m_tilebox ->select_last_objectgroup ();
356+ Editor::current () ->select_last_objectgroup ();
357357}
358358
359359int
You can’t perform that action at this time.
0 commit comments