actions: add: confirm when the whole database is about to be added
This commit is contained in:
@@ -943,6 +943,10 @@ void Add::run()
|
|||||||
path = wFooter->prompt();
|
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...";
|
Statusbar::put() << "Adding...";
|
||||||
wFooter->refresh();
|
wFooter->refresh();
|
||||||
if (myScreen == myPlaylistEditor)
|
if (myScreen == myPlaylistEditor)
|
||||||
|
|||||||
Reference in New Issue
Block a user