projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix crash during first-run configuration of the application, caused by using an incom...
[ardour.git]
/
libs
/
ardour
/
transport_master_manager.cc
diff --git
a/libs/ardour/transport_master_manager.cc
b/libs/ardour/transport_master_manager.cc
index 063224632c2dc8d3740b239ed04570770a8ca01f..6354dff05ce3c53d7a207c11218cc7e9ce64f7cd 100644
(file)
--- a/
libs/ardour/transport_master_manager.cc
+++ b/
libs/ardour/transport_master_manager.cc
@@
-522,7
+522,9
@@
TransportMasterManager::get_state ()
{
XMLNode* node = new XMLNode (state_node_name);
- node->set_property (X_("current"), _current_master->name());
+ if (_current_master) {
+ node->set_property (X_("current"), _current_master->name());
+ }
Glib::Threads::RWLock::ReaderLock lm (lock);