Browse Source

Merge branch '2405_listing_mode_dialog'

* 2405_listing_mode_dialog:
  Ticket #2405: fixed key event handling in "Listing mode" dialog.
Andrew Borodin 14 years ago
parent
commit
117f2f76a0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/boxes.c

+ 2 - 1
src/boxes.c

@@ -106,7 +106,8 @@ display_callback (Dlg_head * h, Widget * sender, dlg_msg_t msg, int parm, void *
             }
             }
         }
         }
 
 
-        if (g_ascii_tolower (parm) == display_user_hotkey)
+        if ((g_ascii_tolower (parm) == display_user_hotkey)
+            && dlg_widget_active (display_user_format) && dlg_widget_active (display_mini_status))
         {
         {
             display_radio->pos = display_radio->sel = 3;
             display_radio->pos = display_radio->sel = 3;
             dlg_select_widget (display_radio);  /* force redraw */
             dlg_select_widget (display_radio);  /* force redraw */