Skip to content
Snippets Groups Projects
Commit c720375b authored by zorglub's avatar zorglub
Browse files

People might perhaps maybe want to right-click anywhere

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