projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddfda54
)
Fix saving of channel names in .sr files.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Wed, 26 Nov 2014 17:05:57 +0000
(18:05 +0100)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Wed, 26 Nov 2014 17:14:12 +0000
(18:14 +0100)
This closes bug #490.
pv/view/signal.cpp
patch
|
blob
|
history
diff --git
a/pv/view/signal.cpp
b/pv/view/signal.cpp
index 767896f2ccda2d75b5063d55a0c17afaf6b7adda..ecf74f08c0fc8528c94b099de5e280902891f2b6 100644
(file)
--- a/
pv/view/signal.cpp
+++ b/
pv/view/signal.cpp
@@
-75,6
+75,10
@@
void Signal::set_name(QString name)
updating_name_widget_ = true;
name_widget_->setEditText(name);
updating_name_widget_ = false;
+
+ // Store the channel name in sigrok::Channel so that it
+ // will end up in the .sr file upon save.
+ channel_->set_name(name.toStdString());
}
bool Signal::enabled() const