mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +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