Replace wxBusyInfo with wxProgressDialog

This commit is contained in:
Mill J
2021-04-27 01:40:18 +00:00
committed by Apoorv
parent 265febe09a
commit 966daa1c32
3 changed files with 37 additions and 19 deletions
+3 -3
View File
@@ -111,9 +111,9 @@ void Database::InsertSample(int favorite, std::string filename,
rc = sqlite3_bind_int(m_Stmt, 9, bitrate);
rc = sqlite3_bind_text(m_Stmt, 10, path.c_str(), path.size(), SQLITE_STATIC);
rc = sqlite3_bind_int(m_Stmt, 11, trashed);
rc = sqlite3_step(m_Stmt);
rc = sqlite3_step(m_Stmt);
if (rc != SQLITE_DONE)
{
wxLogDebug("No data inserted. Error code: %d: Msg: %s", rc , sqlite3_errmsg(m_Database));