mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Desktop: Fix Saving of the Divesite Country.
Fix a bug in the edit divesite country command preventing the country of the divesite from ever being saved. Fixes #4357. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
534bf68639
commit
0e7d3a6466
1 changed files with 1 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ EditDiveSiteCountry::EditDiveSiteCountry(dive_site *dsIn, const QString &country
|
||||||
|
|
||||||
bool EditDiveSiteCountry::workToBeDone()
|
bool EditDiveSiteCountry::workToBeDone()
|
||||||
{
|
{
|
||||||
return value == taxonomy_get_country(ds->taxonomy);
|
return value != taxonomy_get_country(ds->taxonomy);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditDiveSiteCountry::redo()
|
void EditDiveSiteCountry::redo()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue