mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-05 15:20:47 +08:00
Initial load status bar, apparently layout broke for plater.
This commit is contained in:
parent
121f467251
commit
547206aa4f
@ -28,11 +28,10 @@ MainFrame::MainFrame(const wxString& title, const wxPoint& pos, const wxSize& si
|
||||
|
||||
wxToolTip::SetAutoPop(TOOLTIP_TIMER);
|
||||
|
||||
// STUB: Initialize status bar with text.
|
||||
/* # initialize status bar
|
||||
$self->{statusbar} = Slic3r::GUI::ProgressStatusBar->new($self, -1);
|
||||
$self->{statusbar}->SetStatusText("Version $Slic3r::VERSION - Remember to check for updates at http://slic3r.org/");
|
||||
$self->SetStatusBar($self->{statusbar}); */
|
||||
// initialize status bar
|
||||
this->statusbar = new ProgressStatusBar(this, -1);
|
||||
this->statusbar->SetStatusText("Version $Slic3r::VERSION - Remember to check for updates at http://slic3r.org/");
|
||||
this->SetStatusBar(this->statusbar);
|
||||
|
||||
this->loaded = 1;
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include "PresetEditor.hpp"
|
||||
#include "Settings.hpp"
|
||||
#include "GUI.hpp"
|
||||
#include "ProgressStatusBar.hpp"
|
||||
|
||||
namespace Slic3r { namespace GUI {
|
||||
|
||||
@ -47,6 +48,8 @@ private:
|
||||
std::shared_ptr<Settings> gui_config;
|
||||
std::map<wxWindowID, PresetEditor*> preset_editor_tabs;
|
||||
|
||||
ProgressStatusBar* statusbar {new ProgressStatusBar(this, -1)};
|
||||
|
||||
};
|
||||
|
||||
}} // Namespace Slic3r::GUI
|
||||
|
Loading…
x
Reference in New Issue
Block a user