Explorar o código

Fixed bug where filter textfield's background remained black

Andreas Fetzer %!s(int64=11) %!d(string=hai) anos
pai
achega
ae468a4eb5
Modificáronse 1 ficheiros con 2 adicións e 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);