QTfrontend/mapContainer.cpp
changeset 5434 99078dea3a8f
parent 5289 9d18b61bd3eb
child 5788 0837a4cac4c7
--- a/QTfrontend/mapContainer.cpp	Wed Jul 20 20:44:25 2011 +0200
+++ b/QTfrontend/mapContainer.cpp	Thu Jul 21 16:30:42 2011 +0200
@@ -175,7 +175,7 @@
     connect(cbTemplateFilter, SIGNAL(activated(int)), this, SLOT(setTemplateFilter(int)));
 
     maze_size_label = new QLabel(tr("Type"), mapWidget);
-    mainLayout.addWidget(maze_size_label, 2, 0);
+    mapLayout->addWidget(maze_size_label, 2, 0);
     maze_size_label->hide();
     cbMazeSize = new QComboBox(mapWidget);
     cbMazeSize->addItem(tr("Small tunnels"), 0);