Commit c720375b authored by Clément Stenac's avatar Clément Stenac

People might perhaps maybe want to right-click anywhere

parent 5c7316ef
...@@ -150,7 +150,7 @@ void StandardPLPanel::search( QString searchText ) ...@@ -150,7 +150,7 @@ void StandardPLPanel::search( QString searchText )
void StandardPLPanel::doPopup( QModelIndex index, QPoint point ) void StandardPLPanel::doPopup( QModelIndex index, QPoint point )
{ {
assert( index.isValid() ); if( !index.isValid() ) return;
QItemSelectionModel *selection = view->selectionModel(); QItemSelectionModel *selection = view->selectionModel();
QModelIndexList list = selection->selectedIndexes(); QModelIndexList list = selection->selectedIndexes();
model->popup( index, point, list ); model->popup( index, point, list );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment