Browse Source

Improved column visibility patch

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
63a0f4bf11
  1. 2
      src/transferlistwidget.cpp

2
src/transferlistwidget.cpp

@ -922,7 +922,7 @@ void TransferListWidget::displayDLHoSMenu(const QPoint&){
Q_ASSERT(col >= 0); Q_ASSERT(col >= 0);
qDebug("Toggling column %d visibility", col); qDebug("Toggling column %d visibility", col);
setColumnHidden(col, !isColumnHidden(col)); setColumnHidden(col, !isColumnHidden(col));
if(!isColumnHidden(col)) if(!isColumnHidden(col) && columnWidth(col) <= 5)
setColumnWidth(col, 100); setColumnWidth(col, 100);
} }
} }

Loading…
Cancel
Save