Skip to content

Commit

Permalink
WLibrary: avoid unnecessary save/restore state
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Aug 8, 2021
1 parent c74d74d commit 287d72f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/widget/wlibrary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,8 @@ void WLibrary::switchToView(const QString& name) {
//qDebug() << "WLibrary::setCurrentWidget" << name;
setCurrentWidget(widget);
lview->onShow();
lview->restoreCurrentViewState();
}

lview->restoreCurrentViewState();
}
}

Expand Down

0 comments on commit 287d72f

Please sign in to comment.