diff --git a/src/EditDialog.cpp b/src/EditDialog.cpp index dd297189..43b7fb40 100644 --- a/src/EditDialog.cpp +++ b/src/EditDialog.cpp @@ -297,7 +297,7 @@ void EditDialog::importData() QString fileName = FileDialog::getOpenFileName( this, - tr("Choose a file") + tr("Choose a file to import") #ifndef Q_OS_MAC // Filters on OS X are buggy , tr("Text files(*.txt);;Image files(%1);;JSON files(*.json);;All files(*)").arg(image_formats) #endif diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 19e965f7..7dd07825 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -1570,6 +1570,7 @@ void MainWindow::activateFields(bool enable) bool write = !db.readOnly(); ui->fileCloseAction->setEnabled(enable); + ui->fileAttachAction->setEnabled(enable); ui->fileCompactAction->setEnabled(enable && write); ui->fileExportJsonAction->setEnabled(enable); ui->fileExportCSVAction->setEnabled(enable); @@ -2051,7 +2052,7 @@ bool MainWindow::loadProject(QString filename, bool readOnly) if(filename.isEmpty()) { filename = FileDialog::getOpenFileName(this, - tr("Choose a file to open"), + tr("Choose a project file to open"), tr("DB Browser for SQLite project file (*.sqbpro)")); }