Explorar el Código

Adjust visibility of previous and next buttons on thumbnail double-click

nherlambang hace 14 años
padre
commit
b4855a01db
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Libs/DICOM/Widgets/ctkDICOMAppWidget.cpp

+ 1 - 1
Libs/DICOM/Widgets/ctkDICOMAppWidget.cpp

@@ -234,7 +234,7 @@ void ctkDICOMAppWidget::onThumbnailDoubleClicked(const ctkDICOMThumbnailWidget&
     QModelIndex index0 = index.sibling(index.row(), 0);
 
     if(model && (model->data(index0,ctkDICOMModel::TypeRole) != ctkDICOMModel::ImageType)){
-
+        this->onModelSelected(index0);
         d->treeView->setCurrentIndex(index0);
         d->thumbnailsWidget->onModelSelected(index0);
         d->imagePreview->onModelSelected(index0);