mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
SetFocus only works if the widget is enabled
One could argue that this makes sense... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1f2159dd0c
commit
eb59b97c2b
1 changed files with 1 additions and 1 deletions
|
@ -130,8 +130,8 @@ void MainWindow::refreshDisplay(bool doRecreateDiveList)
|
|||
ui.globe->reload();
|
||||
if (doRecreateDiveList)
|
||||
recreateDiveList();
|
||||
ui.ListWidget->setFocus();
|
||||
ui.ListWidget->setEnabled(true);
|
||||
ui.ListWidget->setFocus();
|
||||
WSInfoModel::instance()->updateInfo();
|
||||
// refresh the yearly stats if the window has an instance
|
||||
if (yearlyStats) {
|
||||
|
|
Loading…
Add table
Reference in a new issue