mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-19 10:20:17 -06:00
plot: Use default location from preferences dialog when saving picture
This commit is contained in:
@@ -1680,7 +1680,7 @@ void MainWindow::on_butSavePlot_clicked()
|
||||
{
|
||||
QString fileName = QFileDialog::getSaveFileName(this,
|
||||
tr("Choose a filename to save under"),
|
||||
QString(),
|
||||
PreferencesDialog::getSettingsValue("db", "defaultlocation").toString(),
|
||||
tr("PNG(*.png);;JPG(*.jpg);;PDF(*.pdf);;BMP(*.bmp);;All Files(*)")
|
||||
);
|
||||
if(!fileName.isEmpty())
|
||||
|
||||
Reference in New Issue
Block a user