Commit 0fbf1e59 authored by Lamarque Souza's avatar Lamarque Souza
Browse files

[BUGFIX] Fix crash in applet.

If there is a openvpn activated the applet crashed when clicking on the
system tray icon.
parent a05f4060
......@@ -680,7 +680,7 @@ void NetworkModelItem::updateDetails() const
}
}
if (m_connectionState == NetworkManager::ActiveConnection::Activated) {
if (device && m_connectionState == NetworkManager::ActiveConnection::Activated) {
m_details << i18n("Device") << device->interfaceName();
}
}
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