mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
ENABLE_GCODE_VIEWER -> KBShortcutsDialog shows only related tabs when gcode viewer state is active
This commit is contained in:
parent
99a15af03d
commit
5ff6f3045e
2 changed files with 98 additions and 103 deletions
|
@ -8,8 +8,6 @@
|
|||
#include "GUI_Utils.hpp"
|
||||
#include "wxExtensions.hpp"
|
||||
|
||||
#define ENABLE_SCROLLABLE 1
|
||||
|
||||
namespace Slic3r {
|
||||
namespace GUI {
|
||||
|
||||
|
@ -22,9 +20,7 @@ class KBShortcutsDialog : public DPIDialog
|
|||
ShortcutsVec m_full_shortcuts;
|
||||
ScalableBitmap m_logo_bmp;
|
||||
wxStaticBitmap* m_header_bitmap;
|
||||
#if ENABLE_SCROLLABLE
|
||||
std::vector<wxPanel*> m_pages;
|
||||
#endif // ENABLE_SCROLLABLE
|
||||
|
||||
public:
|
||||
KBShortcutsDialog();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue