* fix QComboBox popup leaking shortcuts

This commit is contained in:
Garux
2023-07-03 12:26:20 +06:00
parent 2b3a34b299
commit 7396eef067
4 changed files with 28 additions and 8 deletions

View File

@@ -51,7 +51,7 @@
#include <QKeyEvent>
#include <QApplication>
#include <QButtonGroup>
#include <QComboBox>
#include "gtkutil/combobox.h"
#include "os/path.h"
#include "eclasslib.h"
@@ -651,7 +651,7 @@ class ListAttribute final : public EntityAttribute
public:
ListAttribute( const char* key, const ListAttributeType& type ) :
m_key( key ),
m_combo( new QComboBox ),
m_combo( new ComboBox ),
m_type( type ){
for ( const auto&[ name, value ] : type )
{