Skip to content

Commit

Permalink
fix: oopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz committed Apr 22, 2024
1 parent d4bdc8b commit 3c2548e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/widgets/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -647,11 +647,13 @@ void Window::addShortcuts()
}
else if (arg == "liveOnly")
{
this->notebook_->toggleOfflineTabsAction()->trigger();
this->notebook_->setShowTabs(true);
getSettings()->tabVisibility.setValue(
NotebookTabVisibility::LiveOnly);
}
else if (arg == "toggleLiveOnly")
{
this->notebook_->toggleOfflineTabs();
this->notebook_->toggleOfflineTabsAction()->trigger();
}
else
{
Expand Down

0 comments on commit 3c2548e

Please sign in to comment.