mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-15 11:18:29 +12:00
Merge branch 'cemu-project:main' into gcc
This commit is contained in:
commit
e4fc8ce726
3 changed files with 9 additions and 0 deletions
|
@ -421,6 +421,10 @@ void GraphicPacksWindow2::OnTreeSelectionChanged(wxTreeEvent& event)
|
|||
{
|
||||
wxWindowUpdateLocker lock(this);
|
||||
|
||||
bool item_deselected = m_graphic_pack_tree->GetSelection() == m_graphic_pack_tree->GetRootItem();
|
||||
if (item_deselected)
|
||||
return;
|
||||
|
||||
const auto selection = m_graphic_pack_tree->GetSelection();
|
||||
if (selection.IsOk())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue