make blocking search constraints change after successful searching optional
it's still enabled by default though.
This commit is contained in:
@@ -267,6 +267,7 @@ void DefaultConfiguration(ncmpcpp_config &conf)
|
||||
conf.clock_display_seconds = false;
|
||||
conf.ignore_leading_the = false;
|
||||
conf.stop_after_current_song = false;
|
||||
conf.block_search_constraints_change = true;
|
||||
conf.set_window_title = true;
|
||||
conf.mpd_port = 6600;
|
||||
conf.mpd_connection_timeout = 15;
|
||||
@@ -638,6 +639,10 @@ void ReadConfiguration(ncmpcpp_config &conf)
|
||||
{
|
||||
conf.ignore_leading_the = v == "yes";
|
||||
}
|
||||
else if (cl.find("block_search_constraints_change_if_items_found") != string::npos)
|
||||
{
|
||||
conf.block_search_constraints_change = v == "yes";
|
||||
}
|
||||
else if (cl.find("enable_window_title") != string::npos)
|
||||
{
|
||||
conf.set_window_title = v == "yes";
|
||||
|
||||
Reference in New Issue
Block a user