Fix crash in settings dialog if current connection name is removed from config file.

This commit is contained in:
craig.p.drummond
2013-08-18 18:34:10 +00:00
committed by craig.p.drummond
parent 14a6751453
commit b05ab4f3c5
2 changed files with 7 additions and 1 deletions

View File

@@ -1,4 +1,9 @@
1.1.0
1.1.1
-----
1. Fix crash in settings dialog if current connection name is removed from
config file.
1.1.0
-----
1. Display 'Calculating...', and 'Deleting...' in cache settings page if
relevant.

View File

@@ -68,6 +68,7 @@ class CollectionNameValidator : public QValidator
ServerSettings::ServerSettings(QWidget *p)
: QWidget(p)
, haveBasicCollection(false)
, prevIndex(0)
{
setupUi(this);
#if defined ENABLE_DEVICES_SUPPORT