manage conflicting hotkeys in QComboBox, QLineEdit, QSpinBox

This commit is contained in:
Garux
2022-12-20 23:41:16 +06:00
parent 88a03b07be
commit 2ed868d254
8 changed files with 145 additions and 25 deletions
+3 -3
View File
@@ -820,7 +820,7 @@ void Patch_constructMenu( QMenu* menu ){
#include "gtkutil/spinbox.h"
#include <QDialog>
#include <QComboBox>
#include "gtkutil/combobox.h"
#include <QCheckBox>
#include <QFormLayout>
#include <QDialogButtonBox>
@@ -831,8 +831,8 @@ void DoNewPatchDlg( EPatchPrefab prefab, int minrows, int mincols, int defrows,
QDialog dialog( MainFrame_getWindow(), Qt::Dialog | Qt::WindowCloseButtonHint );
dialog.setWindowTitle( "Patch density" );
auto width = new QComboBox;
auto height = new QComboBox;
auto width = new ComboBox;
auto height = new ComboBox;
auto redisperseCheckBox = new QCheckBox( "Square" );
{