Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
This commit is contained in:
commit
4dd9817176
1 changed files with 12 additions and 11 deletions
|
@ -13,9 +13,9 @@ KBShortcutsDialog::KBShortcutsDialog()
|
||||||
: DPIDialog(NULL, wxID_ANY, wxString(SLIC3R_APP_NAME) + " - " + _(L("Keyboard Shortcuts")),
|
: DPIDialog(NULL, wxID_ANY, wxString(SLIC3R_APP_NAME) + " - " + _(L("Keyboard Shortcuts")),
|
||||||
wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER)
|
wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER)
|
||||||
{
|
{
|
||||||
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
|
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
|
||||||
|
|
||||||
auto main_sizer = new wxBoxSizer(wxVERTICAL);
|
auto main_sizer = new wxBoxSizer(wxVERTICAL);
|
||||||
|
|
||||||
// logo
|
// logo
|
||||||
m_logo_bmp = ScalableBitmap(this, "PrusaSlicer_32px.png", 32);
|
m_logo_bmp = ScalableBitmap(this, "PrusaSlicer_32px.png", 32);
|
||||||
|
@ -87,8 +87,8 @@ KBShortcutsDialog::KBShortcutsDialog()
|
||||||
|
|
||||||
this->Bind(wxEVT_LEFT_DOWN, &KBShortcutsDialog::onCloseDialog, this);
|
this->Bind(wxEVT_LEFT_DOWN, &KBShortcutsDialog::onCloseDialog, this);
|
||||||
|
|
||||||
SetSizer(main_sizer);
|
SetSizer(main_sizer);
|
||||||
main_sizer->SetSizeHints(this);
|
main_sizer->SetSizeHints(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void KBShortcutsDialog::fill_shortcuts()
|
void KBShortcutsDialog::fill_shortcuts()
|
||||||
|
@ -132,6 +132,7 @@ void KBShortcutsDialog::fill_shortcuts()
|
||||||
plater_shortcuts.reserve(20);
|
plater_shortcuts.reserve(20);
|
||||||
|
|
||||||
plater_shortcuts.push_back(Shortcut("A", L("Arrange")));
|
plater_shortcuts.push_back(Shortcut("A", L("Arrange")));
|
||||||
|
plater_shortcuts.push_back(Shortcut("Shift+A", L("Arrange selection")));
|
||||||
plater_shortcuts.push_back(Shortcut(ctrl+"A", L("Select All objects")));
|
plater_shortcuts.push_back(Shortcut(ctrl+"A", L("Select All objects")));
|
||||||
plater_shortcuts.push_back(Shortcut("Del", L("Delete selected")));
|
plater_shortcuts.push_back(Shortcut("Del", L("Delete selected")));
|
||||||
plater_shortcuts.push_back(Shortcut(ctrl+"Del", L("Delete All")));
|
plater_shortcuts.push_back(Shortcut(ctrl+"Del", L("Delete All")));
|
||||||
|
|
Loading…
Reference in a new issue