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

List:       kde-commits
Subject:    koffice/krita/ui
From:       Edward Apap <schumifer () hotmail ! com>
Date:       2010-05-01 18:58:08
Message-ID: 20100501185808.D7C01AC8AA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1121572 by eapap:

* Layer name should always be changed


 M  +2 -2      kis_layer_manager.cc  


--- trunk/koffice/krita/ui/kis_layer_manager.cc #1121571:1121572
@@ -248,12 +248,12 @@
         if (dlg.exec() == QDialog::Accepted) {
 
             QString after;
+            alayer->setName(dlg.layerName());
+
             if (dlg.filterConfiguration()) {
                 after = dlg.filterConfiguration()->toXML();
             }
             if (after != before) {
-                alayer->setName(dlg.layerName());
-
                 KisChangeFilterCmd<KisAdjustmentLayerSP> * cmd
                 = new KisChangeFilterCmd<KisAdjustmentLayerSP>(alayer,
                         dlg.filterConfiguration(),
[prev in list] [next in list] [prev in thread] [next in thread] 

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