]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/GInclude.C
partial compile fix
[lyx.git] / src / frontends / gtk / GInclude.C
index 6420c4c3c34902078ed6d4c232e8684ac344bcc4..a6cf0db6a443dbc5acd56e45c630e7cc4d050167 100644 (file)
@@ -147,7 +147,7 @@ void GInclude::onBrowseClicked()
        else
                type = ControlInclude::VERBATIM;
 
-       fileentry_->set_text(controller().browse(fileentry_->get_text(), type));
+       fileentry_->set_text(lyx::to_utf8(controller().browse(lyx::from_utf8(fileentry_->get_text()), type)));
 }