diff options
| author | Crystalwarrior <varsash@gmail.com> | 2020-04-01 19:48:58 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2020-04-01 19:48:58 +0300 |
| commit | c49c9cdd777c7df38594aa444a1aee8c8f9cf09c (patch) | |
| tree | ee17f72ba91d37ce4c422705a1b3555becdb768c | |
| parent | 8007b1d1b95d476821a6b2616c09824e54911ea9 (diff) | |
Fix weird behavior with area list and arup system + wrong column being used for 'metadata'
| -rw-r--r-- | src/courtroom.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp index c7f19364..26648372 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -1310,7 +1310,7 @@ void Courtroom::list_areas() if (ao_app->arup_enabled) { // Coloring logic here. - treeItem->setBackground(0, free_brush); + treeItem->setBackground(1, free_brush); if (arup_locks.at(n_area) == "LOCKED") { treeItem->setBackground(1, locked_brush); @@ -3921,8 +3921,8 @@ void Courtroom::music_list_collapse_all() void Courtroom::on_area_list_double_clicked(QTreeWidgetItem *p_item, int column) { - column = 1; //The metadata - QString p_area = p_item->text(1); + column = 0; //The metadata + QString p_area = p_item->text(0); QStringList packet_contents; packet_contents.append(p_area); |
