author | wimpie <wimpie> | 2005-01-12 01:55:32 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2005-01-12 01:55:32 (UTC) |
commit | c48160f6ac67b2f2fc4b6f982b641861ad078237 (patch) (unidiff) | |
tree | 2922ac7b627091ef32f36d4e8b32630c255b00e1 /noncore/settings/networksettings2/networksettings.cpp | |
parent | f9a83585111afa08a47176097a150d9f468bfcdf (diff) | |
download | opie-c48160f6ac67b2f2fc4b6f982b641861ad078237.zip opie-c48160f6ac67b2f2fc4b6f982b641861ad078237.tar.gz opie-c48160f6ac67b2f2fc4b6f982b641861ad078237.tar.bz2 |
Fixed problem with enabling profile from edit environment
rename disable to enable (much more clear)
Diffstat (limited to 'noncore/settings/networksettings2/networksettings.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/networksettings.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/settings/networksettings2/networksettings.cpp b/noncore/settings/networksettings2/networksettings.cpp index 2714dd5..469cec5 100644 --- a/noncore/settings/networksettings2/networksettings.cpp +++ b/noncore/settings/networksettings2/networksettings.cpp | |||
@@ -238,11 +238,13 @@ void NetworkSettings::SLOT_EditNode( QListBoxItem * LBI ) { | |||
238 | NSResources->addNetworkSetup( NC, 0 ); | 238 | NSResources->addNetworkSetup( NC, 0 ); |
239 | } // else not changed | 239 | } // else not changed |
240 | 240 | ||
241 | // must add it here since change will trigger event | 241 | // no update (will come later) |
242 | Profiles_LB->blockSignals( TRUE ); | ||
242 | Profiles_LB->changeItem( NC->devicePixmap(), | 243 | Profiles_LB->changeItem( NC->devicePixmap(), |
243 | NC->name(), | 244 | NC->name(), |
244 | Profiles_LB->index( LBI ) | 245 | Profiles_LB->index( LBI ) |
245 | ); | 246 | ); |
247 | Profiles_LB->blockSignals( FALSE ); | ||
246 | } else { | 248 | } else { |
247 | // new item | 249 | // new item |
248 | int ci = Profiles_LB->count(); | 250 | int ci = Profiles_LB->count(); |