Diffstat (limited to 'noncore/settings/networksettings2') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/editconnection.cpp | 13 | ||||
-rw-r--r-- | noncore/settings/networksettings2/nsdata.cpp | 2 |
2 files changed, 12 insertions, 3 deletions
diff --git a/noncore/settings/networksettings2/editconnection.cpp b/noncore/settings/networksettings2/editconnection.cpp index 6ab2dd6..bda9d7e 100644 --- a/noncore/settings/networksettings2/editconnection.cpp +++ b/noncore/settings/networksettings2/editconnection.cpp | |||
@@ -123,3 +123,6 @@ NetworkSetup * EditNetworkSetup::getTmpCollection( void ) { | |||
123 | TmpCollection.clear(); | 123 | TmpCollection.clear(); |
124 | if( SelectedNodes ) { | ||
125 | // initialize like original | ||
124 | TmpCollection.copyFrom( *SelectedNodes ); | 126 | TmpCollection.copyFrom( *SelectedNodes ); |
127 | } | ||
125 | 128 | ||
@@ -458,6 +461,12 @@ void EditNetworkSetup::SLOT_SelectNode( QListViewItem * it ) { | |||
458 | 461 | ||
459 | if( ! ((QCheckListItem *)it)->isOn() ) { | 462 | ANetNode::NetNodeList & NNL = NN->alternatives(); |
460 | // clicked on line but NOT on Check or Radio item | 463 | |
464 | if( NNL.size() != 1 ) { | ||
465 | if( NNL.size() == 0 || | ||
466 | ! ((MyQCheckListItem *)it)->isOn() | ||
467 | ) { | ||
468 | // not clicked on Check or Radio item | ||
461 | return; | 469 | return; |
462 | } | 470 | } |
471 | } | ||
463 | 472 | ||
diff --git a/noncore/settings/networksettings2/nsdata.cpp b/noncore/settings/networksettings2/nsdata.cpp index b4622fc..835c7c3 100644 --- a/noncore/settings/networksettings2/nsdata.cpp +++ b/noncore/settings/networksettings2/nsdata.cpp | |||
@@ -723,3 +723,3 @@ bool NetworkSettingsData::canStart( const QString & Interface ) { | |||
723 | Log(( "allow %ld for %s\n", NC->number(), Interface.latin1())); | 723 | Log(( "allow %ld for %s\n", NC->number(), Interface.latin1())); |
724 | printf( "A%ld%s\n", NC->number(), Interface.latin1() ); | 724 | printf( "A%d%s\n", NC->number(), Interface.latin1() ); |
725 | return 0; | 725 | return 0; |