Forráskód Böngészése

Fixed bug where filter textfield's background remained black

Andreas Fetzer 11 éve
szülő
commit
ae468a4eb5
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      Libs/DICOM/Widgets/ctkDICOMTableView.cpp

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

@@ -270,7 +270,8 @@ void ctkDICOMTableView::onFilterChanged()
 
   const QStringList uids = this->uidsForAllRows();
 
-  d->showFilterActiveWarning( d->dicomSQLFilterModel->rowCount() == 0 );
+  d->showFilterActiveWarning( d->dicomSQLFilterModel->rowCount() == 0 &&
+                              d->dicomSQLModel.rowCount() != 0);
 
   d->tblDicomDatabaseView->clearSelection();
   emit queryChanged(uids);