mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Oops. Fix XML stuff in GUI as well.
git-svn-id: svn://localhost/ardour2/branches/3.0@4579 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
789bd1d007
commit
64e69c36da
4 changed files with 4 additions and 4 deletions
|
|
@ -141,7 +141,7 @@ ARDOUR_UI::connect_to_session (Session *s)
|
||||||
|
|
||||||
/* listen to clock mode changes. don't do this earlier because otherwise as the clocks
|
/* listen to clock mode changes. don't do this earlier because otherwise as the clocks
|
||||||
restore their modes or are explicitly set, we will cause the "new" mode to be saved
|
restore their modes or are explicitly set, we will cause the "new" mode to be saved
|
||||||
back to the session XML ("extra") state.
|
back to the session XML ("Extra") state.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
AudioClock::ModeChanged.connect (mem_fun (*this, &ARDOUR_UI::store_clock_modes));
|
AudioClock::ModeChanged.connect (mem_fun (*this, &ARDOUR_UI::store_clock_modes));
|
||||||
|
|
|
||||||
|
|
@ -237,7 +237,7 @@ UIConfiguration::set_state (const XMLNode& root)
|
||||||
if (node->name() == "Canvas" || node->name() == "UI") {
|
if (node->name() == "Canvas" || node->name() == "UI") {
|
||||||
set_variables (*node);
|
set_variables (*node);
|
||||||
|
|
||||||
} else if (node->name() == "extra") {
|
} else if (node->name() == "Extra") {
|
||||||
_extra_xml = new XMLNode (*node);
|
_extra_xml = new XMLNode (*node);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ Controllable::by_name (const std::string& str)
|
||||||
XMLNode&
|
XMLNode&
|
||||||
Controllable::get_state ()
|
Controllable::get_state ()
|
||||||
{
|
{
|
||||||
XMLNode* node = new XMLNode (X_("controllable"));
|
XMLNode* node = new XMLNode (X_("Controllable"));
|
||||||
char buf[64];
|
char buf[64];
|
||||||
|
|
||||||
node->add_property (X_("name"), _name); // not reloaded from XML state, just there to look at
|
node->add_property (X_("name"), _name); // not reloaded from XML state, just there to look at
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ void
|
||||||
Stateful::add_extra_xml (XMLNode& node)
|
Stateful::add_extra_xml (XMLNode& node)
|
||||||
{
|
{
|
||||||
if (_extra_xml == 0) {
|
if (_extra_xml == 0) {
|
||||||
_extra_xml = new XMLNode ("extra");
|
_extra_xml = new XMLNode ("Extra");
|
||||||
}
|
}
|
||||||
|
|
||||||
_extra_xml->remove_nodes (node.name());
|
_extra_xml->remove_nodes (node.name());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue