mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-26 12:22:32 +00: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:
@@ -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 };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user