Fix issues related to tab order in main window

Make sure the search input has focus when switching to the search tab
This commit is contained in:
Christophe Dumez
2010-07-19 18:49:53 +00:00
parent 51068294f1
commit bceb00d35f
7 changed files with 30 additions and 16 deletions

View File

@@ -327,7 +327,7 @@ void PropertiesWidget::reloadPreferences() {
void PropertiesWidget::loadDynamicData() {
// Refresh only if the torrent handle is valid and if visible
if(!h.is_valid() || main_window->getCurrentTabIndex() != TAB_TRANSFER || state != VISIBLE) return;
if(!h.is_valid() || main_window->getCurrentTabWidget() != transferList || state != VISIBLE) return;
try {
// Transfer infos
if(stackedProperties->currentIndex() == MAIN_TAB) {