mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
fix up iterator syntax and unnecessary use of X_() in NSM patch
This commit is contained in:
parent
11ca19ed8f
commit
19d5cafa8a
1 changed files with 1 additions and 1 deletions
|
|
@ -692,7 +692,7 @@ ARDOUR_UI::startup ()
|
|||
action_names.push_back("Close");
|
||||
|
||||
for (vector<string>::const_iterator n = action_names.begin(); n != action_names.end(); ++n) {
|
||||
Glib::RefPtr<Action> act = ActionManager::get_action (X_("Main"), X_(n.base()->c_str()));
|
||||
Glib::RefPtr<Action> act = ActionManager::get_action (X_("Main"), (*n).c_str());
|
||||
if (act) {
|
||||
act->set_sensitive (false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue