Close database without asking when unmodified.

Don't ask for confirmation when closing/locking a database and
- it's in edit entry mode
- there haven't been any modifications

Refs #511
This commit is contained in:
Felix Geyer 2016-08-01 00:22:04 +02:00 committed by Jonathan White
parent cf8186312a
commit 8a50ee8b22
5 changed files with 32 additions and 2 deletions

View file

@ -74,6 +74,7 @@ public:
QStringList customEntryAttributes() const;
bool isGroupSelected() const;
bool isInEditMode() const;
bool isEditWidgetModified() const;
QList<int> splitterSizes() const;
void setSplitterSizes(const QList<int>& sizes);
QList<int> entryHeaderViewSizes() const;