fix wrong location of "Type"-label in map-selection
authorsheepluva
Thu, 21 Jul 2011 16:30:42 +0200
changeset 5434 99078dea3a8f
parent 5432 85f24cc6a791
child 5436 3134fafcfe12
fix wrong location of "Type"-label in map-selection
QTfrontend/mapContainer.cpp
--- 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);