Commit 9b1d01a8 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: Open: always update mrl on tab switch.

Otherwise could any MRL with net caching.
parent c5f1421c
...@@ -704,13 +704,10 @@ void NetOpenPanel::updateMRL() ...@@ -704,13 +704,10 @@ void NetOpenPanel::updateMRL()
{ {
QString url = ui.urlComboBox->lineEdit()->text(); QString url = ui.urlComboBox->lineEdit()->text();
if( url.isEmpty() )
return;
emit methodChanged( qfu( "network-caching" ) ); emit methodChanged( qfu( "network-caching" ) );
QStringList qsl; QStringList qsl;
qsl << url; if( !url.isEmpty() ) qsl << url;
emit mrlUpdated( qsl, "" ); emit mrlUpdated( qsl, "" );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment