Browse Source

Apply "Hide infinity values" to "Down/Up Limit" columns

adaptive-webui-19844
Chocobo1 4 years ago
parent
commit
2aeb8b9390
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/gui/transferlistmodel.cpp

2
src/gui/transferlistmodel.cpp

@ -259,7 +259,7 @@ QString TransferListModel::displayValue(const BitTorrent::Torrent *torrent, cons @@ -259,7 +259,7 @@ QString TransferListModel::displayValue(const BitTorrent::Torrent *torrent, cons
const auto limitString = [hideValues](const qint64 value) -> QString
{
if (hideValues && (value == 0))
if (hideValues && (value <= 0))
return {};
return (value > 0)

Loading…
Cancel
Save