Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorenricoturri1966 <enricoturri@seznam.cz>2020-10-21 14:49:39 +0300
committerenricoturri1966 <enricoturri@seznam.cz>2020-10-21 14:49:39 +0300
commita5961ef9815ed2147cfd8635d3ca8836af40cf06 (patch)
tree0168fd7939e96f46b18867c711f896d6adbc0e7a /src/slic3r/GUI/KBShortcutsDialog.cpp
parent0d239520e6074ff77f0752647c7841ece816b0b6 (diff)
New icons for standalone gcode viewer
Diffstat (limited to 'src/slic3r/GUI/KBShortcutsDialog.cpp')
-rw-r--r--src/slic3r/GUI/KBShortcutsDialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/slic3r/GUI/KBShortcutsDialog.cpp b/src/slic3r/GUI/KBShortcutsDialog.cpp
index a7dd984a6..db217e3ae 100644
--- a/src/slic3r/GUI/KBShortcutsDialog.cpp
+++ b/src/slic3r/GUI/KBShortcutsDialog.cpp
@@ -251,7 +251,11 @@ wxPanel* KBShortcutsDialog::create_header(wxWindow* parent, const wxFont& bold_f
sizer->AddStretchSpacer();
// logo
+#if ENABLE_GCODE_VIEWER
+ m_logo_bmp = ScalableBitmap(this, wxGetApp().is_editor() ? "PrusaSlicer_32px.png" : "PrusaSlicer-gcodeviewer_32px.png", 32);
+#else
m_logo_bmp = ScalableBitmap(this, "PrusaSlicer_32px.png", 32);
+#endif // ENABLE_GCODE_VIEWER
m_header_bitmap = new wxStaticBitmap(panel, wxID_ANY, m_logo_bmp.bmp());
sizer->Add(m_header_bitmap, 0, wxEXPAND | wxLEFT | wxRIGHT, 10);