diff options
| author | Riccardo Spagni <ric@spagni.net> | 2016-11-17 17:05:20 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2016-11-17 17:05:20 +0200 |
| commit | c83336cc4714215725cba957d8ea164a57c33987 (patch) | |
| tree | d45ad9d362441ea801a1a2061b1766f19a2d10a3 | |
| parent | 73a8b22e6facf95cfbb2dd4e4c80bd804e01577b (diff) | |
| parent | d62dd3ee193897cb8f3b85bfb12722a27bb6f1f9 (diff) | |
| download | monzero-gui-c83336cc4714215725cba957d8ea164a57c33987.tar.gz monzero-gui-c83336cc4714215725cba957d8ea164a57c33987.tar.xz monzero-gui-c83336cc4714215725cba957d8ea164a57c33987.zip | |
Merge pull request #177
d62dd3e History: do not dereference a null model (moneromooo.monero)
| -rw-r--r-- | pages/History.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/History.qml b/pages/History.qml index 85aec79f..2a1eca7f 100644 --- a/pages/History.qml +++ b/pages/History.qml @@ -48,7 +48,7 @@ Rectangle { color: "#F0EEEE" function getSelectedAmount() { - if (typeof model === 'undefined') + if (typeof model === 'undefined' || model == null) return "" var total = 0 var count = model.rowCount() |
