~ubuntu-branches/debian/sid/kxstitch/sid

« back to all changes in this revision

Viewing changes to kxstitch/newcolordialog.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mike O'Connor
  • Date: 2009-03-15 09:07:18 UTC
  • mfrom: (1.2.1 upstream) (4.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090315090718-w1f0d0ho6d2j9a9v
Tags: 0.8.3.1-1
* New Upstream Version
* Chnage build-dep to work with new libmagick++-dev (Closes: 485893)

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
  {
53
53
    FlossScheme* scheme = ((KXStitchApplication*)kapp)->scheme(schemeName);
54
54
    if (!scheme->find(dialog->FlossName->text()))
 
55
    {
55
56
      floss = new Floss(dialog->FlossName->text(),dialog->FlossDescription->text(),dialog->ColorButton->color());
 
57
      scheme->addFloss(floss);
 
58
    }
56
59
    else
57
60
      KMessageBox::sorry(0,i18n("The floss name specified has already been used."),i18n("Floss Name Used"),false);
58
61
  }