actions: add: confirm when the whole database is about to be added
This commit is contained in:
1 parent
30df221cb4
commit
081ad033d4
1 file changed
+4
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user