-rw-r--r-- | core/launcher/launcher.cpp | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp index 0205622..b612aa2 100644 --- a/core/launcher/launcher.cpp +++ b/core/launcher/launcher.cpp @@ -383,10 +383,11 @@ void CategoryTabWidget::updateLink(const QString& linkfile) { - // LauncherView* view; - qApp->processEvents(); -// while ((view = (LauncherView*)stack->widget(i++))) { -// if ( view->removeLink(linkfile) ) -// break; -// } - // addItem(linkfile); - fileSel->reparse(); + int i=0; + LauncherView* view; + //qApp->processEvents(); + while ((view = (LauncherView*)stack->widget(i++))) { + if ( view->removeLink(linkfile) ) + break; + } + addItem(linkfile); + docview->updateTools(); } @@ -1343,6 +1344,6 @@ DocumentTab::DocumentTab( QWidget *parent, int mode, int selector, const QString { - setYesCancelVisible(false); - setToolbarVisible(false); - setPermissionBarVisible(false); - setLineEditVisible(false) ; + //setYesCancelVisible(false); + //setToolbarVisible(false); + //setPermissionBarVisible(false); + //setLineEditVisible(false) ; //setChooserVisible( bool chooser ); |