File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ void TradeHistoryDialog::UpdateTradeHistoryTable()
182182 amountOutCell->setForeground (QColor (" #EE0000" ));
183183 amountInCell->setTextAlignment (Qt::AlignRight + Qt::AlignVCenter);
184184 amountInCell->setForeground (QColor (" #00AA00" ));
185- if (objTH.status == " Cancelled" || objTH.status == " Filled" ) {
185+ if (objTH.status == " Cancelled" || objTH.status == " Filled" || objTH. status == " Part Cancel " ) {
186186 // dull the colors for non-active trades
187187 dateCell->setForeground (QColor (" #707070" ));
188188 statusCell->setForeground (QColor (" #707070" ));
@@ -479,7 +479,7 @@ void TradeHistoryDialog::UpdateData()
479479 amountOutCell->setForeground (QColor (" #EE0000" ));
480480 amountInCell->setTextAlignment (Qt::AlignRight + Qt::AlignVCenter);
481481 amountInCell->setForeground (QColor (" #00AA00" ));
482- if (statusText == " Cancelled" || statusText == " Filled" ) {
482+ if (statusText == " Cancelled" || statusText == " Filled" || statusText == " Part Cancel " ) {
483483 // dull the colors for non-active trades
484484 dateCell->setForeground (QColor (" #707070" ));
485485 statusCell->setForeground (QColor (" #707070" ));
You can’t perform that action at this time.
0 commit comments