Explorar el Código

Fixed bug where filter textfield's background remained black

Andreas Fetzer hace 11 años
padre
commit
ae468a4eb5
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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);