mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
Merge pull request #609 from justinclift/issue605
Fixes issue #605, which was just an indexing error
This commit is contained in:
@@ -249,7 +249,7 @@ void ExportCsvDialog::setQuoteChar(const QChar& c)
|
||||
int index = combo->findText(c);
|
||||
if(index == -1)
|
||||
{
|
||||
combo->setCurrentIndex(combo->count());
|
||||
combo->setCurrentIndex(combo->count() - 1);
|
||||
ui->editCustomQuote->setText(c);
|
||||
}
|
||||
else
|
||||
@@ -277,7 +277,7 @@ void ExportCsvDialog::setSeparatorChar(const QChar& c)
|
||||
int index = combo->findText(sText);
|
||||
if(index == -1)
|
||||
{
|
||||
combo->setCurrentIndex(combo->count());
|
||||
combo->setCurrentIndex(combo->count() - 1);
|
||||
ui->editCustomSeparator->setText(c);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user