Added "Keyboard Shortcuts" dialog

This commit is contained in:
YuSanka 2018-12-19 13:06:24 +01:00
parent 354458ae73
commit 661086554a
6 changed files with 198 additions and 0 deletions

View file

@ -35,6 +35,7 @@
#include "Preferences.hpp"
#include "Tab.hpp"
#include "SysInfoDialog.hpp"
#include "KBShortcutsDialog.hpp"
namespace Slic3r {
namespace GUI {
@ -301,6 +302,13 @@ void GUI_App::system_info()
dlg.Destroy();
}
void GUI_App::keyboard_shortcuts()
{
KBShortcutsDialog dlg;
dlg.ShowModal();
dlg.Destroy();
}
// static method accepting a wxWindow object as first parameter
bool GUI_App::catch_error(std::function<void()> cb,
// wxMessageDialog* message_dialog,