Don't allow creation of a new film with no name. Otherwise we try
authorCarl Hetherington <cth@carlh.net>
Mon, 14 Sep 2020 21:07:34 +0000 (23:07 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 14 Sep 2020 21:09:28 +0000 (23:09 +0200)
commit776fa44207f23f2f7a5c92fdf07222dad3229e9a
treec2e15b036d843adc12d4a8bdf0481c9f0d9dd3ab
parentd1e9749ca290673639a49d693a8fe5c6557cc2de
Don't allow creation of a new film with no name.  Otherwise we try
to write metadata to the "create in folder" directory, which throws
an uncaught exception if the specified directory is unwriteable.

If we have a name then DoM tries to create the directory with that name,
which fails more elegantly and with a nicer error.

Backported-from-commit: 50aaa3789864c7330ee92e7e89ad5b6cc2155a82
Backported-from-branch: 2.15.x
src/wx/film_name_location_dialog.cc
src/wx/film_name_location_dialog.h