actions: add missing flag restriction for physical deletion

This commit is contained in:
Andrzej Rybczak
2014-08-27 02:01:44 +02:00
parent 1fc2ce2d3c
commit 8d1b10fb3e
6 changed files with 25 additions and 1 deletions

View File

@@ -217,6 +217,7 @@ void Configuration::SetDefaults()
store_lyrics_in_song_dir = false;
generate_win32_compatible_filenames = true;
ask_for_locked_screen_width_part = true;
allow_for_physical_item_deletion = false;
progressbar_boldness = true;
set_window_title = true;
mpd_port = 6600;
@@ -824,6 +825,11 @@ void Configuration::Read()
if (!v.empty())
ask_for_locked_screen_width_part = v == "yes";
}
else if (name == "allow_for_physical_item_deletion")
{
if (!v.empty())
allow_for_physical_item_deletion = v == "yes";
}
else if (name == "progressbar_boldness")
{
if (!v.empty())