mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 00:07:52 -06:00
Some changes to gcode window toggles (#2704)
* Show gcode window automatically (#2572) * Move the show gcode toggle to view menu, and remember if gcode window is shown last time * fix an issue when merging main branch --------- Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
parent
b86b8ea810
commit
284c3e71eb
7 changed files with 30 additions and 29 deletions
|
@ -3196,7 +3196,7 @@ void GLCanvas3D::on_char(wxKeyEvent& evt)
|
|||
//case 'B':
|
||||
//case 'b': { zoom_to_bed(); break; }
|
||||
case 'C':
|
||||
case 'c': { m_gcode_viewer.toggle_gcode_window_visibility(); m_dirty = true; request_extra_frame(); break; }
|
||||
case 'c': { wxGetApp().toggle_show_gcode_window(); m_dirty = true; request_extra_frame(); break; }
|
||||
//case 'G':
|
||||
//case 'g': {
|
||||
// if ((evt.GetModifiers() & shiftMask) != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue