mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
mmplugin: Fix apn added request being true when no sim is inserted
This commit is contained in:
parent
201ba6959d
commit
a2170b4b3c
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ bool SignalIndicator::mobileDataEnabled() const
|
|||
|
||||
bool SignalIndicator::needsAPNAdded() const
|
||||
{
|
||||
return m_nmModem && m_nmModem->availableConnections().count() == 0;
|
||||
return m_nmModem && mobileDataSupported() && m_nmModem->availableConnections().count() == 0;
|
||||
}
|
||||
|
||||
void SignalIndicator::setMobileDataEnabled(bool enabled)
|
||||
|
|
|
|||
Loading…
Reference in a new issue