projects
/
scorecard
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a crash when viewing statistics including a score on a course which is not found.
[scorecard]
/
src
/
score-dialog.cpp
diff --git
a/src/score-dialog.cpp
b/src/score-dialog.cpp
index
20b839b
..
867c373
100644
(file)
--- a/
src/score-dialog.cpp
+++ b/
src/score-dialog.cpp
@@
-326,6
+326,8
@@
void ScoreDialog::init(Course *course, Score *score)
table->setItem(ROW_SCORE_2, i-9, scoreItem);
}
}
+ // This - for some unknown reason - does not work ...
+ table->setInputMethodHints(Qt::ImhDigitsOnly);
// Set focus to 1st cell
table->setCurrentCell(ROW_SCORE, 0);