MainWindow: use database pattern when clicking 'Add to database'
This commit is contained in:
parent
1d4fa4b8ff
commit
7065074121
@ -502,7 +502,6 @@ void MainWindow::dbAdd() {
|
||||
}
|
||||
|
||||
auto iter = m_combo_possible->get_active();
|
||||
std::string input_pattern = m_entry_pattern->get_text();
|
||||
|
||||
std::string show =
|
||||
static_cast< Glib::ustring >( ( *iter )[m_columns_show.m_col_show] );
|
||||
@ -522,7 +521,7 @@ void MainWindow::dbAdd() {
|
||||
|
||||
std::thread t( addToDB, std::move( show ), m_entry_dir->get_text(),
|
||||
std::move( language_code ), std::move( show_id ),
|
||||
m_entry_pattern->get_text(), !m_check_linux->get_active(),
|
||||
getDBPattern(), !m_check_linux->get_active(),
|
||||
m_check_dvd->get_active(), pw );
|
||||
t.detach();
|
||||
pw->show();
|
||||
|
Loading…
Reference in New Issue
Block a user