Skip to content

Commit

Permalink
fix: launching stanza parser even when stanza is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
BrewingWeasel committed Jul 27, 2024
1 parent d4a18f3 commit 455fa2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/language_parsing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ pub async fn start_stanza(
window: Window,
) -> Result<(), SakinyjeError> {
let mut state = state.0.lock().await;
if state.language_parser.is_some() {
if state.language_parser.is_some() || !state.settings.stanza_enabled {
return Ok(());
}

Expand Down

0 comments on commit 455fa2c

Please sign in to comment.