FolderWizard: Don't crash when typing invalid drive #7041
authorChristian Kamm <mail@ckamm.de>
Thu, 14 Mar 2019 08:12:46 +0000 (09:12 +0100)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:49 +0000 (10:58 +0100)
commit021f994584637be20fbad99284917f3aa47ab27d
tree8caafec30a47253d2286548d5adb96fd38ae9ce1
parent21cb93e3cee0926854eae066e91cde683fbc0c93
FolderWizard: Don't crash when typing invalid drive #7041

When the user typed "x:" where the drive x didn't exist, the validation
function would loop forever. Now it shows a "path doesn't exist" error.
src/gui/folderman.cpp
test/testfolderman.cpp