*** trunk/Scribus/scribus/scribusdoc.cpp	Thu Oct 21 12:47:10 2010
--- scribusdoc.cpp	Thu Oct 21 12:44:41 2010
***************
*** 8362,8367 ****
--- 8362,8369 ----
      if (selectedItemCount != 0)
      {
          PageItem *currItem;
+         bool ApplyToAll = false;
+         int t;
          for (uint i = 0; i < selectedItemCount; ++i)
          {
              currItem = itemSelection->itemAt(i);
***************
*** 8371,8385 ****
                                          ScCore->fileWatcher->removeFile(currItem->Pfile);
                          }
                          else
!                         if (currItem->asTextFrame() && ScCore->usingGUI())
                          {
                                  if (currItem->itemText.length() != 0 && (currItem->nextInChain() == 0 || currItem->prevInChain() == 0))
                                  {
!                                         int t = ScMessageBox::warning(m_ScMW, CommonStrings::trWarning,
                                                                                  tr("Do you really want to clear all your text?"),
                                                                                  QMessageBox::Yes, QMessageBox::No | QMessageBox::Default);
                                          if (t == QMessageBox::No)
                                                  continue;
                                  }
                          }
                          currItem->clearContents();
--- 8373,8395 ----
                      ScCore->fileWatcher->removeFile(currItem->Pfile);
              }
              else
!             if (currItem->asTextFrame() && ScCore->usingGUI() && !ApplyToAll)
              {
                  if (currItem->itemText.length() != 0 && (currItem->nextInChain() == 0 || currItem->prevInChain() == 0))
                  {
!                     if (i >= (selectedItemCount - 1))
!                         t = ScMessageBox::warning(m_ScMW, CommonStrings::trWarning,
                                          tr("Do you really want to clear all your text?"),
                                          QMessageBox::Yes, QMessageBox::No | QMessageBox::Default);
+                     else
+                         t = ScMessageBox::warning(m_ScMW, CommonStrings::trWarning,
+                                         tr("Do you really want to clear all your text?"),
+                                         QMessageBox::Yes, QMessageBox::No | QMessageBox::Default, QMessageBox::YesToAll);
+ 
                      if (t == QMessageBox::No)
                          continue;
+                     else if (t == QMessageBox::YesToAll)
+                         ApplyToAll = true;
                  }
              }
              currItem->clearContents();
