Ensure that the priority column has enough width when queueing is enabled. Closes #2263.

This commit is contained in:
sledgehammer999 2014-12-10 23:43:52 +02:00
parent 1820a03f1d
commit 6884845446

View file

@ -425,6 +425,8 @@ void TransferListWidget::hidePriorityColumn(bool hide)
{
qDebug("hidePriorityColumn(%d)", hide);
setColumnHidden(TorrentModelItem::TR_PRIORITY, hide);
if (!hide && !columnWidth(TorrentModelItem::TR_PRIORITY))
resizeColumnToContents(TorrentModelItem::TR_PRIORITY);
}
void TransferListWidget::openSelectedTorrentsFolder() const