[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Thu May 20 23:29:26 CEST 2004


CVS commit by arwalker: 

Slightly more convenient to have the old object name already present.


  M +1 -1      kstviewobject.cpp   1.47


--- kdeextragear-2/kst/kst/kstviewobject.cpp  #1.46:1.47
@@ -663,5 +663,5 @@ void KstViewObject::detach() {
 void KstViewObject::rename() {
   bool ok = false;
-  QString newName = KLineEditDlg::getText(i18n("Enter a new name for %1:").arg(tagName()), QString::null, &ok, 0L);
+  QString newName = KLineEditDlg::getText(i18n("Enter a new name for %1:").arg(tagName()), tagName(), &ok, 0L);
   if (ok) {
     setTagName(newName);





More information about the Kst mailing list