Skip to content

Commit

Permalink
Remove some characters.
Browse files Browse the repository at this point in the history
  • Loading branch information
textbrowser committed Oct 20, 2024
1 parent f800236 commit 3cd58e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified Data/BiblioteQ.sqlite
Binary file not shown.
4 changes: 2 additions & 2 deletions Source/biblioteq_import.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ void biblioteq_import::slotDetectFields(void)
continue;

auto comboBox = widget->findChild<QComboBox *> ();
auto const text(item->text().toLower());
auto const text(item->text().remove('"').remove('\'').toLower());

if(comboBox == nullptr || text.isEmpty())
continue;
Expand Down Expand Up @@ -1088,7 +1088,7 @@ void biblioteq_import::slotDetectFields(void)
else if(text.contains("volume"))
index = comboBox->findText("volume_number");
else
index = comboBox->findText(text, Qt::MatchContains);
index = comboBox->findText(text);

if(index >= 0)
comboBox->setCurrentIndex(index);
Expand Down

0 comments on commit 3cd58e6

Please sign in to comment.