From c7b97ac140de31282dba2463a00f434c7a5bba69 Mon Sep 17 00:00:00 2001 From: alwin Date: Tue, 09 Nov 2004 20:19:53 +0000 Subject: - removed code which let qpe crash when generating image icons - when edit properties of an document item it will reread the table of categories --- (limited to 'core/launcher/launcher.cpp') diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp index 010a2e9..5ec1cf8 100644 --- a/core/launcher/launcher.cpp +++ b/core/launcher/launcher.cpp @@ -357,12 +357,12 @@ void LauncherTabWidget::setBusy(bool on) currentView()->setBusy(TRUE); else { for ( int i = 0; i < categoryBar->count(); i++ ) { - if (categoryBar->tab(i)) { - LauncherView *view = ((LauncherTab *)categoryBar->tab(i))->view; - view->setBusy( FALSE ); - } else { - odebug << "Averting Disaster with tab " << i << " == NULL! " << oendl; - } + if (categoryBar->tab(i)) { + LauncherView *view = ((LauncherTab *)categoryBar->tab(i))->view; + view->setBusy( FALSE ); + } else { + odebug << "Averting Disaster with tab " << i << " == NULL! " << oendl; + } } } } @@ -601,9 +601,11 @@ void Launcher::properties( AppLnk *appLnk ) // Not supported: flat is simpler for the user } else { /* ### libqtopia FIXME also moving docLnks... */ - LnkProperties prop(appLnk,0 ); + LnkProperties prop(appLnk,0 ); - QPEApplication::execDialog( &prop ); + if (QPEApplication::execDialog( &prop )==QDialog::Accepted && tabs->currentView()==tabs->docView()) { + tabs->docView()->updateTools(); + } } } -- cgit v0.9.0.2