Dive site rewrite: change the default sizes of the dialog

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-06-26 20:54:48 -03:00 committed by Dirk Hohndel
parent 4426cf706f
commit fd31e7792e
3 changed files with 16 additions and 14 deletions

View file

@ -240,6 +240,8 @@ void MainTab::setCurrentLocationIndex()
void MainTab::showDiveSiteSimpleEdit()
{
if (ui.location->text().isEmpty())
return;
SimpleDiveSiteEditDialog dlg(this);
dlg.exec();
if (dlg.changed_dive_site) {