r16388 by fschmid - Fixed non working deletion of styles.
scribus-commit
scribus-commit at lists.scribus.net
Sun Feb 20 12:17:25 CET 2011
Author: fschmid
Date: Sun Feb 20 11:17:24 2011
New Revision: 16388
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16388
Log:
Fixed non working deletion of styles.
Modified:
trunk/Scribus/scribus/ui/stylemanager.cpp
Modified: trunk/Scribus/scribus/ui/stylemanager.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16388&path=/trunk/Scribus/scribus/ui/stylemanager.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/stylemanager.cpp (original)
+++ trunk/Scribus/scribus/ui/stylemanager.cpp Sun Feb 20 11:17:24 2011
@@ -278,6 +278,7 @@
applyButton->setEnabled(true);
resetButton->setEnabled(true);
reloadStyleView(false);
+ slotOk();
}
}
@@ -872,10 +873,8 @@
if (m_styleActions.contains(key))
continue;
- m_styleActions[key] =
- new ScrAction(ScrAction::DataQString, QPixmap(), QPixmap(), tr("&Apply") , shortcutValue, m_doc->view(), 0, 0.0, key);
- connect(m_styleActions[key], SIGNAL(triggeredData(QString)),
- this, SLOT(slotApplyStyle(QString)));
+ m_styleActions[key] = new ScrAction(ScrAction::DataQString, QPixmap(), QPixmap(), tr("&Apply") , shortcutValue, m_doc->view(), 0, 0.0, key);
+ connect(m_styleActions[key], SIGNAL(triggeredData(QString)), this, SLOT(slotApplyStyle(QString)));
}
}
}
More information about the scribus-commit
mailing list