From 46171dcd991e8c3bfff8e662b3913f454714560a Mon Sep 17 00:00:00 2001 From: josef Date: Mon, 07 Oct 2002 10:02:58 +0000 Subject: - load profiles correctly when editing them - save their general values after editing them - fix compilation of widget_layer (temporary workaround?) --- (limited to 'noncore/apps/opie-console/configdialog.cpp') diff --git a/noncore/apps/opie-console/configdialog.cpp b/noncore/apps/opie-console/configdialog.cpp index 23e94b1..655d649 100644 --- a/noncore/apps/opie-console/configdialog.cpp +++ b/noncore/apps/opie-console/configdialog.cpp @@ -66,8 +66,10 @@ void ConfigDialog::slotRemove() { void ConfigDialog::slotEdit() { Profile p; + if(!lstView->currentItem()) return; + // Load profile - // p = currentItem()->profile(); + p = ((ConfigListItem*)lstView->currentItem())->profile(); ProfileEditorDialog dlg(new MetaFactory(), p); -- cgit v0.9.0.2