src/editmodes/selectMode.cpp

changeset 977
dc3ceb65cda7
parent 968
4b93b7963456
child 984
a7b6f987d269
equal deleted inserted replaced
976:b7aac3606b65 977:dc3ceb65cda7
121 LDObject* obj = renderer()->pickOneObject (ev->x(), ev->y()); 121 LDObject* obj = renderer()->pickOneObject (ev->x(), ev->y());
122 122
123 if (obj != null) 123 if (obj != null)
124 { 124 {
125 AddObjectDialog::staticDialog (obj->type(), obj); 125 AddObjectDialog::staticDialog (obj->type(), obj);
126 g_win->endAction(); 126 m_window->endAction();
127 return true; 127 return true;
128 } 128 }
129 } 129 }
130 130
131 return false; 131 return false;

mercurial