Display values for missing items in combo boxes

This commit is contained in:
GriffinR
2022-10-19 13:34:43 -04:00
parent 2f93caff14
commit 9277a2313f
5 changed files with 50 additions and 98 deletions

View File

@@ -10,6 +10,7 @@ class NoScrollComboBox : public QComboBox
public:
explicit NoScrollComboBox(QWidget *parent = nullptr);
void wheelEvent(QWheelEvent *event);
void setTextItem(const QString &text);
private:
};

View File

@@ -136,6 +136,7 @@ private:
void copyMetatile(bool cut);
void pasteMetatile(const Metatile * toPaste);
bool replaceMetatile(uint16_t metatileId, const Metatile * src);
void setComboValue(QComboBox * combo, int value);
Ui::TilesetEditor *ui;
History<MetatileHistoryItem*> metatileHistory;