mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-14 02:52:12 +01:00
parent
889e2743f5
commit
d42b50cc15
|
@ -63,6 +63,10 @@ void LocationCompleter::showMostVisited()
|
||||||
|
|
||||||
void LocationCompleter::currentChanged(const QModelIndex &index)
|
void LocationCompleter::currentChanged(const QModelIndex &index)
|
||||||
{
|
{
|
||||||
|
if (!index.isValid()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
QString completion = index.data().toString();
|
QString completion = index.data().toString();
|
||||||
|
|
||||||
if (completion.isEmpty()) {
|
if (completion.isEmpty()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user