actions: add: confirm when the whole database is about to be added

This commit is contained in:
Andrzej Rybczak
2015-04-18 17:58:47 +02:00
parent 30df221cb4
commit 081ad033d4

View File

@@ -943,6 +943,10 @@ void Add::run()
path = wFooter->prompt();
}
// confirm when one wants to add the whole database
if (path.empty())
confirmAction("Are you sure you want to add the whole database?");
Statusbar::put() << "Adding...";
wFooter->refresh();
if (myScreen == myPlaylistEditor)