mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-31 00:09:58 -06:00
Update the CSV export dialog to use the PreferencesDialog methods
This commit is contained in:
@@ -231,6 +231,18 @@ QVariant PreferencesDialog::getSettingsDefaultValue(const QString& group, const
|
||||
if(group == "db" && name == "defaultsqltext")
|
||||
return "";
|
||||
|
||||
// exportcsv/firstrowheader?
|
||||
if(group == "exportcsv" && name == "firstrowheader")
|
||||
return true;
|
||||
|
||||
// exportcsv/separator?
|
||||
if(group == "exportcsv" && name == "separator")
|
||||
return ',';
|
||||
|
||||
// exportcsv/quotecharacter?
|
||||
if(group == "exportcsv" && name == "quotecharacter")
|
||||
return '"';
|
||||
|
||||
// MainWindow/geometry?
|
||||
if(group == "MainWindow" && name == "geometry")
|
||||
return "";
|
||||
|
||||
Reference in New Issue
Block a user