mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-27 06:39:24 +00:00
Corrected comment
This commit is contained in:
parent
9bf0ebc7c6
commit
a3555d882a
@ -8,7 +8,7 @@ static OPENED_FILE: Mutex<Option<String>> = Mutex::new(None);
|
|||||||
pub fn set_opened_file(file_path: String) {
|
pub fn set_opened_file(file_path: String) {
|
||||||
let mut opened_file = OPENED_FILE.lock().unwrap();
|
let mut opened_file = OPENED_FILE.lock().unwrap();
|
||||||
*opened_file = Some(file_path.clone());
|
*opened_file = Some(file_path.clone());
|
||||||
add_log(format!("📂 File opened via macOS event: {}", file_path));
|
add_log(format!("📂 File opened via file open event: {}", file_path));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Command to get opened file path (if app was launched with a file)
|
// Command to get opened file path (if app was launched with a file)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user