added "new map" button
fixed minor model/logic issues
This commit is contained in:
@@ -181,8 +181,10 @@ private:
|
||||
// set the currently focused object (if any)
|
||||
focused = el;
|
||||
|
||||
// focus the new one (if any)
|
||||
if (focused) {focused->getMV2D()->focus();}
|
||||
// focus the new one (if any, and focus supported)
|
||||
if (focused && focused->getMV2D()) {
|
||||
focused->getMV2D()->focus();
|
||||
}
|
||||
|
||||
// update the help-text
|
||||
showHelp();
|
||||
|
||||
Reference in New Issue
Block a user