summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kmymoney/kmymoney-3.5.13-default_money_crash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/kmymoney/kmymoney-3.5.13-default_money_crash.patch')
-rw-r--r--redhat/applications/kmymoney/kmymoney-3.5.13-default_money_crash.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13-default_money_crash.patch b/redhat/applications/kmymoney/kmymoney-3.5.13-default_money_crash.patch
new file mode 100644
index 000000000..93cc35bf6
--- /dev/null
+++ b/redhat/applications/kmymoney/kmymoney-3.5.13-default_money_crash.patch
@@ -0,0 +1,12 @@
+--- ./kmymoney2/mymoney/mymoneyfile.cpp.ORI 2011-11-26 18:31:18.266423206 +0100
++++ ./kmymoney2/mymoney/mymoneyfile.cpp 2011-11-26 18:31:26.417214675 +0100
+@@ -1940,7 +1940,8 @@
+
+ const MyMoneySecurity& curr = d->m_cache.security(id);
+ if(curr.id().isEmpty())
+- throw new MYMONEYEXCEPTION("Currency not found.");
++ return baseCurrency();
++// throw new MYMONEYEXCEPTION("Currency not found.");
+ return curr;
+ }
+