summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2011-04-21 08:59:38 +0200
committerKarel Klic <kklic@redhat.com>2011-04-21 08:59:38 +0200
commit884c0aed054302cb1cbb71c2b21c12df92a7e6e4 (patch)
tree9e84e1df48bf77e2fde9dea295b1625cee35eb89
parentd639f1b6a84f1fbf62f0d528efce3da181da0af0 (diff)
downloadabrt-884c0aed054302cb1cbb71c2b21c12df92a7e6e4.tar.gz
abrt-884c0aed054302cb1cbb71c2b21c12df92a7e6e4.tar.xz
abrt-884c0aed054302cb1cbb71c2b21c12df92a7e6e4.zip
Do not allow to submit backtraces with rating 0 (or some other unexpected rating).
-rw-r--r--src/gui-wizard-gtk/wizard.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
index 44dc11bb..0a57f04d 100644
--- a/src/gui-wizard-gtk/wizard.c
+++ b/src/gui-wizard-gtk/wizard.c
@@ -1005,8 +1005,7 @@ static void check_backtrace_and_allow_send(void) //TODO: rename, this checks rat
add_warning(_("The backtrace is incomplete, please make sure you provide the steps to reproduce."));
warn = true;
break;
- case '2':
- case '1':
+ default:
//FIXME: see CreporterAssistant: 394 for ideas
add_warning(_("Reporting disabled because the backtrace is unusable."));
send = false;