Skip to content

Commit

Permalink
No console
Browse files Browse the repository at this point in the history
fixes #20, fixes #19
  • Loading branch information
johnshew committed Dec 4, 2020
1 parent 08b92f0 commit ce715bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// #![allow(dead_code)]
#![windows_subsystem = "windows"]

use chrono::{DateTime, Duration, Local};
use std::cell::RefCell;
Expand Down Expand Up @@ -380,6 +380,7 @@ impl BasicApp {
}
}


fn main() {
nwg::init().expect("Failed to init Native Windows GUI");
nwg::Font::set_global_family("Segoe UI").expect("Failed to set default font");
Expand Down

0 comments on commit ce715bf

Please sign in to comment.