Saving edits requires to move focus first
After editing values in cylinders or weights hitting save will not save the changes to save the edit one must move the focus to a different field first this is fixed by losing the focus before saving the changes Fixes #412 Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1768b08dc0
commit
f2238300ef
@ -585,6 +585,7 @@ void MainTab::reload()
|
||||
void MainTab::acceptChanges()
|
||||
{
|
||||
MainWindow::instance()->dive_list()->setEnabled(true);
|
||||
MainWindow::instance()->setFocus();
|
||||
tabBar()->setTabIcon(0, QIcon()); // Notes
|
||||
tabBar()->setTabIcon(1, QIcon()); // Equipment
|
||||
hideMessage();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user