Resize temp var selection when repopulating list

This commit is contained in:
WarmUpTill 2024-04-19 21:32:52 +02:00 committed by WarmUpTill
parent cbc95e2095
commit ca1262aeb7

View File

@ -250,6 +250,8 @@ TempVariableSelection::TempVariableSelection(QWidget *parent)
_info->setPixmap(pixmap);
_info->hide();
_selection->setSizeAdjustPolicy(QComboBox::AdjustToContents);
_selection->setMaximumWidth(350);
_selection->setDuplicatesEnabled(true);
PopulateSelection();