diff --git a/modules/gui/src/remote_loader.cc b/modules/gui/src/remote_loader.cc index 559a1c670c8267d48b3d18a001b7ccb26e2209ae..0ce6f1595596e5a32a5b6c5683bbb3554371b788 100644 --- a/modules/gui/src/remote_loader.cc +++ b/modules/gui/src/remote_loader.cc @@ -141,7 +141,7 @@ void RemoteLoader::Clicked() if(!line_edit_->text().isEmpty() && site_actions_->checkedAction()){ RemoteSiteLoader* loader = FileLoader::GetLoaderManager()->GetRemoteSiteLoader(site_actions_->checkedAction()->text()); - QString text = line_edit_->text(); + QString text = line_edit_->text().simplified(); QString id = text; QString selection = ""; int pos = text.indexOf('[');