This changes the "View Current Log" option in the Help menu from a toggle to always open the log viewer, and bring it to the front when it's already open.
@@ -5299,7 +5299,12 @@ void OBSBasic::on_actionUploadLastLog_triggered()
void OBSBasic::on_actionViewCurrentLog_triggered()
{
- logView->setVisible(!logView->isVisible());
+ if (!logView->isVisible()) {
+ logView->setVisible(true);
+ } else {
+ logView->activateWindow();
+ logView->raise();
+ }
}
void OBSBasic::on_actionShowCrashLogs_triggered()