diff --git a/plugin/src/App/init.lua b/plugin/src/App/init.lua index d10bde6a..48cf72ef 100644 --- a/plugin/src/App/init.lua +++ b/plugin/src/App/init.lua @@ -695,14 +695,16 @@ function App:startSession() text = tostring(details), timeout = 10, }) - else - self:setState({ - appStatus = AppStatus.NotConnected, - toolbarIcon = Assets.Images.PluginButton, - }) - -- Intentionally not showing a notification here to avoid - -- Studio switching focus to the viewport on disconnect - end + else + self:setState({ + appStatus = AppStatus.NotConnected, + toolbarIcon = Assets.Images.PluginButton, + }) + self:addNotification({ + text = "Disconnected from session.", + timeout = 10, + }) + end end end)