Fix thinko in export preset selector code

git-svn-id: svn://localhost/ardour2/branches/3.0@4280 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Sakari Bergen 2008-12-03 12:50:08 +00:00
parent fbc248d70c
commit ed28f2e714

View File

@ -114,15 +114,11 @@ ExportPresetSelector::update_selection ()
entry.get_entry()->set_text (text);
select_connection.block (false);
} else { // Text has been edited
} else { // Text has been edited, this should not make any changes in the profile manager
if (previous && !text.compare (previous->name())) {
current = previous;
} else {
current.reset ();
profile_manager->load_preset (current);
CriticalSelectionChanged();
}
}