Skip to content

Commit

Permalink
BUG: typo in database, signal not emitted
Browse files Browse the repository at this point in the history
  • Loading branch information
issakomi authored and lassoan committed Dec 6, 2019
1 parent fb8353d commit 78341ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libs/DICOM/Core/ctkDICOMDatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1678,9 +1678,9 @@ bool ctkDICOMDatabase::initializeDatabase(const char* sqlFileName/* = ":/dicom/d
// old schema should be loaded for testing.
QSqlQuery dropSchemaInfo(d->Database);
d->loggedExec( dropSchemaInfo, QString("DROP TABLE IF EXISTS 'SchemaInfo';") );
return d->executeScript(sqlFileName);

const bool r = d->executeScript(sqlFileName);
emit databaseChanged();
return r;
}

//------------------------------------------------------------------------------
Expand Down

0 comments on commit 78341ab

Please sign in to comment.