Commit 5920e79e authored by Ivan Čukić's avatar Ivan Čukić 👁
Browse files

Make sure we have saved network state before accessing it

parent ba4a0331
......@@ -420,7 +420,7 @@ void PlasmaVaultService::openVaultInFileManager(const QString &device)
new KRun(QUrl::fromLocalFile((QString)vault->mountPoint().data()), nullptr);
[this, vault] {
if (vault->status() != VaultInfo::Opened) {
if (vault->status() != VaultInfo::Opened && d->savedNetworkingState) {
auto& devicesInhibittingNetworking = d->savedNetworkingState->devicesInhibittingNetworking;
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