mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 17:27:52 -06:00
ENH: update hms panel and upgrade panel when disconnected
Change-Id: I75d724c99ec2029190641cd2cfa22b6337d0060d Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
42633fda28
commit
e344f8b8b9
5 changed files with 46 additions and 5 deletions
|
@ -6,9 +6,9 @@
|
|||
#include "Widgets/ProgressBar.hpp"
|
||||
#include <slic3r/GUI/DeviceManager.hpp>
|
||||
#include <slic3r/GUI/Widgets/ScrolledWindow.hpp>
|
||||
#include <slic3r/GUI/StatusPanel.hpp>
|
||||
#include "ReleaseNote.hpp"
|
||||
|
||||
|
||||
namespace Slic3r {
|
||||
namespace GUI {
|
||||
|
||||
|
@ -137,6 +137,7 @@ protected:
|
|||
//hint of force upgrade or consistency upgrade
|
||||
int last_forced_hint_status = -1;
|
||||
int last_consistency_hint_status = -1;
|
||||
int last_status;
|
||||
bool m_show_forced_hint = true;
|
||||
bool m_show_consistency_hint = true;
|
||||
SecondaryCheckDialog* force_dlg{ nullptr };
|
||||
|
@ -151,6 +152,7 @@ public:
|
|||
|
||||
void refresh_version_and_firmware(MachineObject* obj);
|
||||
void update(MachineObject *obj);
|
||||
void show_status(int status);
|
||||
|
||||
MachineObject *m_obj { nullptr };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue