mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
Fix off by one error. Sigh.
This commit is contained in:
parent
936c817bd8
commit
4bf8d1e41f
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ void save_manager_dialog::OnEntriesRemove()
|
||||||
//Pop-up a small context-menu, being a replacement for save_data_manage_dialog
|
//Pop-up a small context-menu, being a replacement for save_data_manage_dialog
|
||||||
void save_manager_dialog::ShowContextMenu(const QPoint &pos)
|
void save_manager_dialog::ShowContextMenu(const QPoint &pos)
|
||||||
{
|
{
|
||||||
bool selectedItems = m_list->selectionModel()->selectedRows().size() > 0;
|
bool selectedItems = m_list->selectionModel()->selectedRows().size() > 1;
|
||||||
|
|
||||||
QPoint globalPos = m_list->mapToGlobal(pos);
|
QPoint globalPos = m_list->mapToGlobal(pos);
|
||||||
QMenu* menu = new QMenu();
|
QMenu* menu = new QMenu();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue