summaryrefslogtreecommitdiffstats
path: root/bin/draknfs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/draknfs')
-rwxr-xr-xbin/draknfs2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/draknfs b/bin/draknfs
index 1b6f835..8d5f90e 100755
--- a/bin/draknfs
+++ b/bin/draknfs
@@ -104,6 +104,8 @@ sub show_file_dialog {
if ($answer eq 'ok') {
my $file = $file_dlg->get_filename;
-d $file or err_dialog(N("Error!"), N("Should be a directory.")) and return;
+ # get_filename() returns UTF-8:
+ c::set_tagged_utf8($file);
$data->set_text($file);
}
$file_dlg->hide;