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

master
Andrzej Rybczak 11 years ago
parent 30df221cb4
commit 081ad033d4
  1. 4
      src/actions.cpp

@ -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)

Loading…
Cancel
Save