Print host bugfixes / refactoring

This commit is contained in:
Vojtech Kral 2018-08-21 11:10:32 +02:00
parent ee9f7eaef6
commit 0c984c7584
20 changed files with 61 additions and 105 deletions

View file

@ -36,9 +36,7 @@ PrintHostSendDialog::PrintHostSendDialog(const fs::path &path, bool can_start_pr
wxString stem(path.stem().wstring());
txt_filename->SetSelection(0, stem.Length());
if (!can_start_print) {
box_print->Disable();
}
box_print->Enable(can_start_print);
Fit();
}