mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
profile: don't change background color in "edit mode"
From a user's perspective, the edit mode is not a different application mode anymore. Therefore, don't change the background of the profile. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
fd35fbb349
commit
a41742ab4d
1 changed files with 2 additions and 5 deletions
|
@ -446,9 +446,7 @@ void ProfileWidget2::setEditState(const dive *d, int dc)
|
|||
|
||||
connectPlannerModel();
|
||||
|
||||
/* show the same stuff that the profile shows. */
|
||||
currentState = EDIT; /* enable the add state. */
|
||||
setBackgroundBrush(QColor("#A7DCFF"));
|
||||
currentState = EDIT;
|
||||
|
||||
pointsReset();
|
||||
repositionDiveHandlers();
|
||||
|
@ -466,8 +464,7 @@ void ProfileWidget2::setPlanState(const dive *d, int dc)
|
|||
|
||||
connectPlannerModel();
|
||||
|
||||
/* show the same stuff that the profile shows. */
|
||||
currentState = PLAN; /* enable the add state. */
|
||||
currentState = PLAN;
|
||||
setBackgroundBrush(QColor("#D7E3EF"));
|
||||
|
||||
pointsReset();
|
||||
|
|
Loading…
Reference in a new issue