Starting from 2021-07-01, all LRZ GitLab users will be required to explicitly accept the GitLab Terms of Service. Please see the detailed information at https://doku.lrz.de/display/PUBLIC/GitLab and make sure that your projects conform to the requirements.

Commit 728c2946 authored by schultezub's avatar schultezub
Browse files

#37: small bug fix

git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@438 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
parent dba5d2aa
......@@ -89,6 +89,8 @@ namespace campvis {
void DataContainerInspectorWidget::setupGUI() {
setWindowTitle(tr("DataContainer Inspector"));
_mainLayout = new QHBoxLayout();
_mainLayout->setSpacing(4);
setLayout(_mainLayout);
......@@ -166,7 +168,8 @@ namespace campvis {
_lblName->setText("Name: " + handles.front().first);
_lblTimestamp->setText("Timestamp: " + QString::number(handles.front().second.getTimestamp()));
_canvas->p_transferFunction.getTF()->setImageHandle(handles.front().second);
if (dynamic_cast<const ImageData*>(handles.front().second.getData()))
_canvas->p_transferFunction.getTF()->setImageHandle(handles.front().second);
}
else {
_lblName->setText(QString::number(handles.size()) + " DataHandles selected");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment