Tue, 15 Feb 2022 21:21:12 +0100
The Supplier editor saves changes and inserts new suppliers. It sends a signal to InventorySuppliers when done (always for now). Refresh the table still doesn't work. Added a missing iconn in the Inventory menus dropdown.
#ifndef _EDITSPUPPLIER_H #define _EDITSPUPPLIER_H #include <QDialog> namespace Ui { class EditSupplier; } class EditSupplier : public QDialog { Q_OBJECT signals: void entry_changed(); public: explicit EditSupplier(int id, QWidget *parent = 0); ~EditSupplier(); private slots: void onOKButtonClicked(); void onCancelButtonClicked(); void onTextChanged(); private: Ui::EditSupplier *ui; int recno; bool textIsChanged = false; }; #endif