Selaa lähdekoodia

Fixed missing TableView update on database change and on import

Andreas Fetzer 12 vuotta sitten
vanhempi
commit
35f5c04080
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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()));
   }
 }