Skip to content

Commit

Permalink
Fix crash on macOS and Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
droidmonkey committed Jan 14, 2025
1 parent ab3175b commit b946aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ void MainWindow::updateMenuActionState()
m_ui->menuEntryTotp->setEnabled(singleEntrySelected);
m_ui->menuTags->setEnabled(multiEntrySelected);
// Handle tear-off tags menu
if (m_ui->menuTags->menuAction()->isVisible()) {
if (m_ui->menuTags->isTearOffMenuVisible()) {
if (!databaseUnlocked) {
m_ui->menuTags->hideTearOffMenu();
} else {
Expand Down

0 comments on commit b946aca

Please sign in to comment.