UI Nits: remove reveal on 3d plot

.. it doesn't play nice with OpenGL and the dropdown
disappears anyway.

Fixes #488.
This commit is contained in:
Mark Liversedge
2013-02-13 21:00:11 +00:00
parent 2f8eaa9cc3
commit fe9e3e00cf
2 changed files with 2 additions and 21 deletions

View File

@@ -57,24 +57,6 @@ ModelWindow::ModelWindow(MainWindow *parent, const QDir &home) :
nodata = new QLabel(tr("No data or bin size too large."), this);
nodata->hide();
//
// reveal controls
//
rpresetLabel = new QLabel(tr("Analyse"), this);
rpresetValues = new QComboBox;
fillPresets(rpresetValues);
rpresetValues->setCurrentIndex(1);
// layout reveal controls
QHBoxLayout *r = new QHBoxLayout;
r->setSpacing(4);
r->setContentsMargins(0,0,0,0);
r->addStretch();
r->addWidget(rpresetLabel);
r->addWidget(rpresetValues);
r->addStretch();
setRevealLayout(r);
// the plot widget
QHBoxLayout *mainLayout = new QHBoxLayout;
modelPlot= new ModelPlot(main, NULL);