[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kexi/core
From:       Jarosław Staniek <staniek () kde ! org>
Date:       2009-10-20 21:30:31
Message-ID: 1256074231.284098.3475.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1038242 by staniek:

Main Window
* fix updating shared actions availability after switching to a new tab



 M  +2 -1      KexiWindow.cpp  


--- trunk/koffice/kexi/core/KexiWindow.cpp #1038241:1038242
@@ -689,7 +689,8 @@
     d->stack->setCurrentWidget(newView);   //d->indexForView(newViewMode) );
     newView->propertySetSwitched();
     KexiMainWindowIface::global()->invalidateSharedActions(newView);
-    QTimer::singleShot(10, newView, SLOT(setFocus())); //newView->setFocus(); //js ok?
+    newView->setFocus();
+//2.0    QTimer::singleShot(10, newView, SLOT(setFocus())); //newView->setFocus(); //js ok?
 // setFocus();
     /*TODO move
       QAction* toggleAction = d->toggleViewModeActions.value(newViewMode);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic