2
0
forked from Ivasoft/DSView

able to export original data

This commit is contained in:
dreamsourcelabTAI
2021-10-28 18:49:52 +08:00
parent fed30a0e57
commit 26fe2941df
12 changed files with 432 additions and 214 deletions

View File

@@ -887,9 +887,6 @@ void MainWindow::on_export()
{
using pv::dialogs::StoreProgress;
// dialogs::RegionOptions *regionDlg = new dialogs::RegionOptions(_view, _session, this);
// regionDlg->exec();
StoreProgress *dlg = new StoreProgress(_session, this);
dlg->export_run();
}
@@ -1356,7 +1353,7 @@ void MainWindow::switchLanguage(int language)
dev->set_config(NULL, NULL, SR_CONF_LANGUAGE, g_variant_new_int16(language));
AppConfig &app = AppConfig::Instance();
if (app._frameOptions.language != language)
if (app._frameOptions.language != language && language > 0)
{
app._frameOptions.language = language;
app.SaveFrame();