Explorar el Código

Fixed missing TableView update on database change and on import

Andreas Fetzer hace 12 años
padre
commit
35f5c04080
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      Libs/DICOM/Widgets/ctkDICOMTableView.cpp

+ 1 - 0
Libs/DICOM/Widgets/ctkDICOMTableView.cpp

@@ -107,6 +107,7 @@ void ctkDICOMTableViewPrivate::setUpTableView()
                      q, SLOT(onSelectionChanged()));
     QObject::connect(this->leSearchBox, SIGNAL(textChanged(QString)), this->DICOMSQLFilterModel, SLOT(setFilterWildcard(QString)));
     QObject::connect(this->leSearchBox, SIGNAL(textChanged(QString)), q, SLOT(onFilterChanged()));
+    QObject::connect(this->DICOMDatabase.data(), SIGNAL(schemaUpdated()), q, SLOT(onDatabaseChanged()));
     QObject::connect(this->DICOMDatabase.data(), SIGNAL(databaseChanged()), q, SLOT(onDatabaseChanged()));
   }
 }