View menu items enabled only when Plater is the current active tab

This commit is contained in:
Enrico Turri 2018-11-16 12:31:06 +01:00
parent a94c604423
commit 417783a469
2 changed files with 22 additions and 7 deletions

View file

@ -73,6 +73,7 @@ class MainFrame : public wxFrame
bool can_save() const;
bool can_export_model() const;
bool can_export_gcode() const;
bool can_change_view() const;
#endif // ENABLE_NEW_MENU_LAYOUT
public: