aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcents02 <sens03.con@gmail.com>2019-06-03 09:00:24 +0000
committercents02 <sens03.con@gmail.com>2019-06-03 09:00:24 +0000
commitae8552578020dcd515e1fe80f2b95e6be461744c (patch)
tree75f9e8c3ee526f23276536aa5754f603a1f02ca4
parent09d8e9e7a45d8c7d9557253e1fb48f3e9bd9c894 (diff)
Resolved requests/issues.
-rw-r--r--src/courtroom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index 9fd52d85..020a54c8 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -3009,7 +3009,7 @@ void Courtroom::on_pair_list_clicked(QModelIndex p_index)
f_cid = n_char;
}
}
- if (f_cid < -2 || f_cid >= char_list.size())
+ if (f_cid < -1 || f_cid >= char_list.size())
{
qDebug() << "W: " << real_char << " not present in char_list";
return;
@@ -3030,7 +3030,7 @@ void Courtroom::on_pair_list_clicked(QModelIndex p_index)
}
if(other_charid != -1)
{
- f_item->setText(real_char + " [x]");
+ f_item->setText(real_char + " [x]");
}
}
void Courtroom::on_music_list_double_clicked(QModelIndex p_model)