Fixed the "Ctrl-R" hotkey for Reslice.

This commit is contained in:
bubnikv 2018-12-20 22:50:30 +01:00
parent cb0488df12
commit 71650a7ecf

View File

@ -811,7 +811,7 @@ void MainFrame::on_value_changed(wxCommandEvent& event)
void MainFrame::update_ui_from_settings()
{
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().Layout();
if (m_plater)