mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 07:25:53 +08:00
Fixed the "Ctrl-R" hotkey for Reslice.
This commit is contained in:
parent
cb0488df12
commit
71650a7ecf
@ -811,7 +811,7 @@ void MainFrame::on_value_changed(wxCommandEvent& event)
|
|||||||
void MainFrame::update_ui_from_settings()
|
void MainFrame::update_ui_from_settings()
|
||||||
{
|
{
|
||||||
bool bp_on = wxGetApp().app_config->get("background_processing") == "1";
|
bool bp_on = wxGetApp().app_config->get("background_processing") == "1";
|
||||||
m_menu_item_reslice_now->Enable(bp_on);
|
m_menu_item_reslice_now->Enable(!bp_on);
|
||||||
m_plater->sidebar().show_reslice(!bp_on);
|
m_plater->sidebar().show_reslice(!bp_on);
|
||||||
m_plater->sidebar().Layout();
|
m_plater->sidebar().Layout();
|
||||||
if (m_plater)
|
if (m_plater)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user