diff -r ee5758ddb6d2 -r 8e1fe64ce4e3 src/widgets/colorindexinput.h --- a/src/widgets/colorindexinput.h Sat Jun 11 15:20:24 2022 +0300 +++ b/src/widgets/colorindexinput.h Sun Jun 12 20:47:04 2022 +0300 @@ -5,13 +5,13 @@ { Q_OBJECT public: - ColorIndexInput(EditorTabWidget *document, ColorIndex color = MAIN_COLOR, QWidget *parent = nullptr); + ColorIndexInput(ColorTable *colorTable, ColorIndex color = MAIN_COLOR, QWidget *parent = nullptr); ~ColorIndexInput(); ldraw::Color selectedColor() const; void setSelectedColor(ldraw::Color color); Q_SIGNALS: void colorChanged(ldraw::Color color); private: - EditorTabWidget* const document; + ColorTable* const colorTable; class Ui_ColorIndexInput& ui; };