[Kst] [Bug 143854] Exiting the JavaScript console removes all tabs

Andrew Walker arwalker at sumusltd.com
Thu Apr 12 22:06:39 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=143854         




------- Additional Comments From arwalker sumusltd com  2007-04-12 22:06 -------
SVN commit 653187 by arwalker:

CCBUG:143854 Set the 'Show JavaScript Console' toggle state appropriately if we failed to create the part

 M  +2 -0      js.cpp  


--- branches/work/kst/1.5/kst/src/extensions/js/js.cpp #653186:653187
 @ -238,6 +238,7  @
     KLibFactory *f = KLibLoader::self()->factory("libkonsolepart");
     if (!f) {
       KMessageBox::sorry(app(), i18n("Could not load konsole part.  Please install kdebase."));
+      _showAction->setChecked(false);
       return;
     }
 
 @ -252,6 +253,7  @
     KParts::Part *p = dynamic_cast<KParts::Part*>(f->create(_splitter, "kstcmd"));
     if (!p) {
       KMessageBox::sorry(app(), i18n("Konsole part appears to be incompatible.  Please install kdebase correctly."));
+      _showAction->setChecked(false);
       return;
     }


More information about the Kst mailing list