return target_filepath;
}
-
bool
ExportRangeMarkersDialog::is_filepath_valid(string &filepath)
{
if ( (stat (filepath.c_str(), &statbuf) != 0) ||
(!S_ISDIR (statbuf.st_mode)) ) {
- string txt = _("Please select an existing target directory. Files are not allowed!");
- MessageDialog msg (*this, txt, false, MESSAGE_ERROR, BUTTONS_OK, true);
- msg.run();
- return false;
+ string txt = _("Please select an existing target directory. Files are not allowed!");
+ MessageDialog msg (*this, txt, false, MESSAGE_ERROR, BUTTONS_OK, true);
+ msg.run();
+ return false;
}
// directory needs to exist and be writable
return true;
}
-
void
ExportRangeMarkersDialog::init_progress_computing(Locations::LocationList& locations)
{