mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
Ensure window title for JSON export dialog is correct
It was still using the default title for the dialog (Export data as CSV), which was a bit confusing.
This commit is contained in:
@@ -24,6 +24,9 @@ ExportDataDialog::ExportDataDialog(DBBrowserDB& db, ExportFormats format, QWidge
|
||||
|
||||
// Show different option widgets depending on the export format
|
||||
ui->stackFormat->setCurrentIndex(format);
|
||||
if(format == ExportFormatJson) {
|
||||
setWindowTitle(tr("Export data as JSON"));
|
||||
}
|
||||
|
||||
// Retrieve the saved dialog preferences
|
||||
ui->checkHeader->setChecked(Settings::getValue("exportcsv", "firstrowheader").toBool());
|
||||
|
||||
Reference in New Issue
Block a user