added "new map" button

fixed minor model/logic issues
This commit is contained in:
2017-05-24 17:54:09 +02:00
parent 6fb1c3a5fc
commit 489a64fd69
8 changed files with 49 additions and 7 deletions

View File

@@ -53,10 +53,17 @@ public:
/** create a new, empty root node */
void startEmpty() {
emit aboutToReset();
cleanup();
im = new Floorplan::IndoorMap();
root = new MMRoot(nullptr, im);
root->addListener(this);
//root->addSublayer(new MMFloors(root, im));
emit reset();
}
void cleanup() {