mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Desktop/remember DCs: remember dive computers that were used
The algorithm tries to keep the order of the buttons the same. So if a dive computer was used that's already remembered, don't reorder the buttons. But if a new dive computer is used, add it as the first one and move the others back, potentially dropping the oldest one. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e2ee8c57df
commit
99261775ce
2 changed files with 45 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ private:
|
|||
void markChildrenAsDisabled();
|
||||
void markChildrenAsEnabled();
|
||||
void updateDeviceEnabled();
|
||||
void updateRememberedDCs();
|
||||
|
||||
QStringListModel vendorModel;
|
||||
QStringListModel productModel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue