summaryrefslogtreecommitdiffstats
path: root/bin/draksambashare
diff options
context:
space:
mode:
Diffstat (limited to 'bin/draksambashare')
-rwxr-xr-xbin/draksambashare2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/draksambashare b/bin/draksambashare
index 9fb8749..e55e7bd 100755
--- a/bin/draksambashare
+++ b/bin/draksambashare
@@ -232,6 +232,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;