Commit 05bc408d authored by Pablo Rauzy's avatar Pablo Rauzy Committed by Christoph Cullmann
Browse files

removing all named macros should be persistent too.

parent d141cf93
......@@ -232,9 +232,6 @@ void KeyboardMacrosPlugin::loadNamedMacros()
void KeyboardMacrosPlugin::saveNamedMacros()
{
if (m_namedMacros.isEmpty()) {
return;
}
QFile storage(m_storage);
if (!storage.open(QIODevice::WriteOnly | QIODevice::Text)) {
sendMessage(i18n("Could not open file '%1'.", m_storage), false);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment