mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Do not set text on the Location LineEdit
Since the location is only true with a valid uuid, set the uuid on it, it will search for a valid name and set there. this fixes a few inconsistencies handling the locations. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
94d05d1cb6
commit
64453893a0
3 changed files with 21 additions and 6 deletions
|
@ -90,6 +90,7 @@ public:
|
|||
DiveSiteType currDiveSiteType() const;
|
||||
uint32_t currDiveSiteUuid() const;
|
||||
void fixPopupPosition();
|
||||
void setCurrentDiveSiteUuid(uint32_t uuid);
|
||||
|
||||
signals:
|
||||
void diveSiteSelected(uint32_t uuid);
|
||||
|
@ -102,6 +103,7 @@ protected:
|
|||
void showPopup();
|
||||
|
||||
private:
|
||||
using QLineEdit::setText;
|
||||
DiveLocationFilterProxyModel *proxy;
|
||||
DiveLocationModel *model;
|
||||
DiveLocationListView *view;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue