summarylogtreecommitdiffstats
path: root/ps-info-pane-is-default_all.patch
blob: fe3e5a7aabd04aaca789bd7d1b528c6f74617b5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/src/ui/download.cc
+++ b/src/ui/download.cc
@@ -128,7 +128,7 @@ Download::create_menu() {
                      std::bind(&Download::activate_display_focus, this, DISPLAY_TRANSFER_LIST),
                      std::bind(&Download::activate_display_menu, this, DISPLAY_TRANSFER_LIST));
 
-  element->set_entry(0, false);
+  element->set_entry(1, false); // 'Info' active by default
 
   m_bindings['p'] = std::bind(&ElementMenu::set_entry_trigger, element, 0);
   m_bindings['o'] = std::bind(&ElementMenu::set_entry_trigger, element, 1);
@@ -215,7 +215,7 @@ Download::activate(display::Frame* frame
   m_frame->frame(1)->initialize_window(m_windowDownloadStatus);
   m_windowDownloadStatus->set_active(true);
 
-  activate_display_menu(DISPLAY_PEER_LIST);
+  activate_display_menu(DISPLAY_INFO); // 'Info' active by default
 }
 
 void