mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 03:50:20 -07:00
Never disable the properties panel
This commit is contained in:
parent
7a29f3d71d
commit
50ee44a1cf
1 changed files with 0 additions and 3 deletions
|
@ -72,7 +72,6 @@ PropertiesWidget::PropertiesWidget(QWidget *parent, MainWindow* main_window, Tra
|
||||||
trackerDownButton->setIcon(IconProvider::instance()->getIcon("go-down"));
|
trackerDownButton->setIcon(IconProvider::instance()->getIcon("go-down"));
|
||||||
|
|
||||||
state = VISIBLE;
|
state = VISIBLE;
|
||||||
setEnabled(false);
|
|
||||||
|
|
||||||
// Set Properties list model
|
// Set Properties list model
|
||||||
PropListModel = new TorrentContentFilterModel();
|
PropListModel = new TorrentContentFilterModel();
|
||||||
|
@ -206,7 +205,6 @@ void PropertiesWidget::clear() {
|
||||||
PropListModel->model()->clear();
|
PropListModel->model()->clear();
|
||||||
showPiecesAvailability(false);
|
showPiecesAvailability(false);
|
||||||
showPiecesDownloaded(false);
|
showPiecesDownloaded(false);
|
||||||
setEnabled(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QTorrentHandle PropertiesWidget::getCurrentTorrent() const {
|
QTorrentHandle PropertiesWidget::getCurrentTorrent() const {
|
||||||
|
@ -243,7 +241,6 @@ void PropertiesWidget::loadTorrentInfos(const QTorrentHandle &_h) {
|
||||||
clear();
|
clear();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
setEnabled(true);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// Save path
|
// Save path
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue