mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +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()
|
||||
{
|
||||
return value == taxonomy_get_country(ds->taxonomy);
|
||||
return value != taxonomy_get_country(ds->taxonomy);
|
||||
}
|
||||
|
||||
void EditDiveSiteCountry::redo()
|
||||
|
|
Loading…
Reference in a new issue