Fill ws_info structure and use it when entering weight systems

The code to initialize the weight systems from the last datafile loaded
had not been brought over from the Gtk version.

We now correctly update the data structure when loading file (but not yet
when editing values).

Most likely the same needs to be done for the tanks as well.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-09-10 11:42:26 -07:00
parent 923b4cd9b1
commit e91ac60f49
5 changed files with 34 additions and 2 deletions

View file

@ -59,6 +59,7 @@ public:
const QString& biggerString() const;
void clear();
void update();
void updateInfo();
private:
int rows;
QString biggerEntry;