Enable save button when not auto-saving non-data changes (#9634)

* Fix #9501
* Also fix bug where context menu did not update when entry moved to very top or bottom of list
This commit is contained in:
Jonathan White 2023-08-14 07:04:33 -04:00
parent 5804e63559
commit f293aad74f
No known key found for this signature in database
GPG key ID: 440FC65F2E0C6E01
5 changed files with 15 additions and 0 deletions

View file

@ -442,6 +442,7 @@ MainWindow::MainWindow()
SIGNAL(currentModeChanged(DatabaseWidget::Mode)), this, SLOT(setMenuActionState(DatabaseWidget::Mode)));
m_actionMultiplexer.connect(SIGNAL(groupChanged()), this, SLOT(setMenuActionState()));
m_actionMultiplexer.connect(SIGNAL(entrySelectionChanged()), this, SLOT(setMenuActionState()));
m_actionMultiplexer.connect(SIGNAL(databaseNonDataChanged()), this, SLOT(setMenuActionState()));
m_actionMultiplexer.connect(SIGNAL(groupContextMenuRequested(QPoint)), this, SLOT(showGroupContextMenu(QPoint)));
m_actionMultiplexer.connect(SIGNAL(entryContextMenuRequested(QPoint)), this, SLOT(showEntryContextMenu(QPoint)));
m_actionMultiplexer.connect(SIGNAL(groupChanged()), this, SLOT(updateEntryCountLabel()));