Ticket #4910: double_click.patch

File double_click.patch, 805 bytes (added by sentaus, 9 years ago)

Double click fix

  • Transmission/qt/mainwin.cc

     
    171171    connect( ui.action_SetLocation, SIGNAL(triggered()), this, SLOT(setLocation()));
    172172    connect( ui.action_Properties, SIGNAL(triggered()), this, SLOT(openProperties()));
    173173    connect( ui.action_SessionDialog, SIGNAL(triggered()), mySessionDialog, SLOT(show()));
    174     connect( ui.listView, SIGNAL(activated(const QModelIndex&)), ui.action_Properties, SLOT(trigger()));
     174    connect( ui.listView, SIGNAL(doubleClicked(const QModelIndex&)), ui.action_Properties, SLOT(trigger()));
    175175
    176176    // signals
    177177    connect( ui.action_SelectAll, SIGNAL(triggered()), ui.listView, SLOT(selectAll()));