Ensure 'File → Export → Table(s) to JSON' is enabled/disabled along with its siblings

This commit is contained in:
Justin Clift
2017-04-04 14:07:44 +01:00
parent ace89f124d
commit 8b2e93d547

View File

@@ -1401,6 +1401,7 @@ void MainWindow::activateFields(bool enable)
ui->fileCloseAction->setEnabled(enable);
ui->fileCompactAction->setEnabled(enable && write);
ui->fileExportJsonAction->setEnabled(enable);
ui->fileExportCSVAction->setEnabled(enable);
ui->fileExportSQLAction->setEnabled(enable);
ui->fileImportCSVAction->setEnabled(enable && write);