projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d25fc4
)
Do not change session name when performing only a selective save
author
Soeren Apel
<soeren@apelpie.net>
Thu, 24 Nov 2016 19:02:06 +0000
(20:02 +0100)
committer
Soeren Apel
<soeren@apelpie.net>
Sun, 4 Dec 2016 13:37:38 +0000
(14:37 +0100)
pv/toolbars/mainbar.cpp
patch
|
blob
|
history
diff --git
a/pv/toolbars/mainbar.cpp
b/pv/toolbars/mainbar.cpp
index 871288c39f9947e23c17648d116cbc629ad89d97..c31d0d33860021fe11fb2eacb020c3535a3a8de9 100644
(file)
--- a/
pv/toolbars/mainbar.cpp
+++ b/
pv/toolbars/mainbar.cpp
@@
-828,7
+828,8
@@
void MainBar::export_file(shared_ptr<OutputFormat> format,
options = dlg.options();
}
- session_.set_name(QFileInfo(file_name).fileName());
+ if (!selection_only)
+ session_.set_name(QFileInfo(file_name).fileName());
StoreProgress *dlg = new StoreProgress(file_name, format, options,
sample_range, session_, this);