mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue